HSL(342, 75%, 71%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,75%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 75%, 71%) | color: hsl(342, 75%, 71%) | |
| HEX | #ED7E9F | color: #ED7E9F | |
| RGB | rgb(237, 126, 159) | color: rgb(237, 126, 159) | |
| CMYK | cmyk(0%, 47%, 33%, 7%) | — | |
| HSV | hsv(342, 47%, 93%) | — | |
| HWB | hwb(342 49% 7%) | color: hwb(342 49% 7%) | |
| OKLCH | oklch(0.7257 0.1401 2.24) | color: oklch(0.7257 0.1401 2.24) | |
| Lab | lab(66.08 46.14 1.87) | color: lab(66.08 46.14 1.87) | |
| LCH | lch(66.08 46.18 2.32) | color: lch(66.08 46.18 2.32) |
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)
#BDBC97 — rgb(189, 188, 151)
Deuteranopia (Green-blind)
#C3CC95 — rgb(195, 204, 149)
Tritanopia (Blue-blind)
#E7918F — rgb(231, 145, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 75%, 71%);
text
color: hsl(342, 75%, 71%);
border
border: 2px solid hsl(342, 75%, 71%);
gradient light
background: linear-gradient(to right, hsl(342, 75%, 91%), hsl(342, 75%, 71%));
gradient dark
background: linear-gradient(to right, hsl(342, 75%, 71%), hsl(342, 75%, 51%))
hex
background-color: #ED7E9F;
tailwind
bg-[hsl(342,75%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 75%, 71%, 0.4);
css variable
--color-primary: hsl(342, 75%, 71%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 75%, 71%)?
HEX: #ED7E9F | RGB: rgb(237, 126, 159) | CMYK: 0%, 47%, 33%, 7% | HSV: 342°, 47%, 93%. Copy any format from the conversion table above.
What colors go well with #ED7E9F?
The complementary color is HSL(162, 75%, 71%). 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, 75%, 71%) in CSS?
As HSL: color: hsl(342, 75%, 71%); — As HEX: color: #ED7E9F; — As RGB: color: rgb(237, 126, 159); — Tailwind CSS: bg-[hsl(342,75%,71%)] — CSS variable: --color-primary: hsl(342, 75%, 71%);