HSL(342, 69%, 50%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,69%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 69%, 50%) | color: hsl(342, 69%, 50%) | |
| HEX | #D7285C | color: #D7285C | |
| RGB | rgb(215, 40, 92) | color: rgb(215, 40, 92) | |
| CMYK | cmyk(0%, 81%, 57%, 16%) | — | |
| HSV | hsv(342, 81%, 84%) | — | |
| HWB | hwb(342 16% 16%) | color: hwb(342 16% 16%) | |
| OKLCH | oklch(0.5779 0.2082 10.42) | color: oklch(0.5779 0.2082 10.42) | |
| Lab | lab(47.93 67.55 15.05) | color: lab(47.93 67.55 15.05) | |
| LCH | lch(47.93 69.21 12.56) | color: lch(47.93 69.21 12.56) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#8B8A4F — rgb(139, 138, 79)
Deuteranopia (Green-blind)
#95A34C — rgb(149, 163, 76)
Tritanopia (Blue-blind)
#CE4543 — rgb(206, 69, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 69%, 50%);
text
color: hsl(342, 69%, 50%);
border
border: 2px solid hsl(342, 69%, 50%);
gradient light
background: linear-gradient(to right, hsl(342, 69%, 70%), hsl(342, 69%, 50%));
gradient dark
background: linear-gradient(to right, hsl(342, 69%, 50%), hsl(342, 69%, 30%))
hex
background-color: #D7285C;
tailwind
bg-[hsl(342,69%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 69%, 50%, 0.4);
css variable
--color-primary: hsl(342, 69%, 50%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 69%, 50%)?
HEX: #D7285C | RGB: rgb(215, 40, 92) | CMYK: 0%, 81%, 57%, 16% | HSV: 342°, 81%, 84%. Copy any format from the conversion table above.
What colors go well with #D7285C?
The complementary color is HSL(162, 69%, 50%). 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, 69%, 50%) in CSS?
As HSL: color: hsl(342, 69%, 50%); — As HEX: color: #D7285C; — As RGB: color: rgb(215, 40, 92); — Tailwind CSS: bg-[hsl(342,69%,50%)] — CSS variable: --color-primary: hsl(342, 69%, 50%);