HSL(342, 71%, 57%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,71%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 71%, 57%) | color: hsl(342, 71%, 57%) | |
| HEX | #DF4372 | color: #DF4372 | |
| RGB | rgb(223, 67, 114) | color: rgb(223, 67, 114) | |
| CMYK | cmyk(0%, 70%, 49%, 13%) | — | |
| HSV | hsv(342, 70%, 87%) | — | |
| HWB | hwb(342 26% 13%) | color: hwb(342 26% 13%) | |
| OKLCH | oklch(0.6187 0.194 6.79) | color: oklch(0.6187 0.194 6.79) | |
| Lab | lab(52.86 63.18 8.79) | color: lab(52.86 63.18 8.79) | |
| LCH | lch(52.86 63.79 7.92) | color: lch(52.86 63.79 7.92) |
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)
#9B9A67 — rgb(155, 154, 103)
Deuteranopia (Green-blind)
#A5B064 — rgb(165, 176, 100)
Tritanopia (Blue-blind)
#D75E5C — rgb(215, 94, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 71%, 57%);
text
color: hsl(342, 71%, 57%);
border
border: 2px solid hsl(342, 71%, 57%);
gradient light
background: linear-gradient(to right, hsl(342, 71%, 77%), hsl(342, 71%, 57%));
gradient dark
background: linear-gradient(to right, hsl(342, 71%, 57%), hsl(342, 71%, 37%))
hex
background-color: #DF4372;
tailwind
bg-[hsl(342,71%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 71%, 57%, 0.4);
css variable
--color-primary: hsl(342, 71%, 57%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 71%, 57%)?
HEX: #DF4372 | RGB: rgb(223, 67, 114) | CMYK: 0%, 70%, 49%, 13% | HSV: 342°, 70%, 87%. Copy any format from the conversion table above.
What colors go well with #DF4372?
The complementary color is HSL(162, 71%, 57%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 71%, 57%) in CSS?
As HSL: color: hsl(342, 71%, 57%); — As HEX: color: #DF4372; — As RGB: color: rgb(223, 67, 114); — Tailwind CSS: bg-[hsl(342,71%,57%)] — CSS variable: --color-primary: hsl(342, 71%, 57%);