HSL(340, 70%, 58%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,70%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 70%, 58%) | color: hsl(340, 70%, 58%) | |
| HEX | #DF497B | color: #DF497B | |
| RGB | rgb(223, 73, 123) | color: rgb(223, 73, 123) | |
| CMYK | cmyk(0%, 67%, 45%, 13%) | — | |
| HSV | hsv(340, 67%, 87%) | — | |
| HWB | hwb(340 29% 13%) | color: hwb(340 29% 13%) | |
| OKLCH | oklch(0.6272 0.1891 4.02) | color: oklch(0.6272 0.1891 4.02) | |
| Lab | lab(53.91 61.75 4.9) | color: lab(53.91 61.75 4.9) | |
| LCH | lch(53.91 61.94 4.54) | color: lch(53.91 61.94 4.54) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#9E9D6F — rgb(158, 157, 111)
Deuteranopia (Green-blind)
#A7B26C — rgb(167, 178, 108)
Tritanopia (Blue-blind)
#D86563 — rgb(216, 101, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 70%, 58%);
text
color: hsl(340, 70%, 58%);
border
border: 2px solid hsl(340, 70%, 58%);
gradient light
background: linear-gradient(to right, hsl(340, 70%, 78%), hsl(340, 70%, 58%));
gradient dark
background: linear-gradient(to right, hsl(340, 70%, 58%), hsl(340, 70%, 38%))
hex
background-color: #DF497B;
tailwind
bg-[hsl(340,70%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 70%, 58%, 0.4);
css variable
--color-primary: hsl(340, 70%, 58%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 70%, 58%)?
HEX: #DF497B | RGB: rgb(223, 73, 123) | CMYK: 0%, 67%, 45%, 13% | HSV: 340°, 67%, 87%. Copy any format from the conversion table above.
What colors go well with #DF497B?
The complementary color is HSL(160, 70%, 58%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 70%, 58%) in CSS?
As HSL: color: hsl(340, 70%, 58%); — As HEX: color: #DF497B; — As RGB: color: rgb(223, 73, 123); — Tailwind CSS: bg-[hsl(340,70%,58%)] — CSS variable: --color-primary: hsl(340, 70%, 58%);