#EC7DAF#EC7DAF
#EC7DAF is a light, vivid pink. Relative luminance 0.356; OKLCH L 72.8% C 0.147 H 353.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7DAF |
|---|---|
| RGB | rgb(236, 125, 175) |
| HSL | hsl(333, 74%, 71%) |
| HSV | hsv(333, 47%, 93%) |
| CMYK | cmyk(0%, 47%, 25.8%, 7.5%) |
| CIE-LAB | lab(66.21, 48.36, -7.01) |
| CIE-LCH | lch(66.21, 48.87, 351.75°) |
| OKLab | oklab(72.79% 0.1459 -0.0179) |
| OKLCH | oklch(72.79% 0.147 353) |
| XYZ | xyz(49.6651, 35.5993, 44.8047) |
| Luminance | 0.3559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pink (survey)
#FF81C0
ΔE00 3.84
Bubblegum (survey)
#FF6CB5
ΔE00 4.29
Bubble Gum Pink
#FF69AF
ΔE00 4.40
Hot Pink
#FF69B4
ΔE00 4.63
Carnation Pink
#FF7FA7
ΔE00 5.04
Pinky
#FC86AA
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7DAF #7DECBA
analogous
#EC7DE6 #EC7DAF #EC827D
triadic
#EC7DAF #AFEC7D #7DAFEC
tetradic
#EC7DAF #E6EC7D #7DECBA #827DEC
square
#EC7DAF #E6EC7D #7DECBA #827DEC
split-complementary
#EC7DAF #7DEC82 #7DE6EC
monochromatic
#D01E6E #E4488E #EC7DAF #F4B2D0 #FBE4EF
Accessibility & contrast
On white
2.59
#EC7DAF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#EC7DAF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7DAF
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7DAF | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A95B1
Deuteranopia (green-blind)
#A7A8AC
Tritanopia (blue-blind)
#FB788F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #ec7daf; /* rgb */ color: rgb(236, 125, 175); /* oklch */ color: oklch(72.8% 0.147 353.0);
Tailwind
colors: {
custom: {
50: '#f5a5c6',
500: '#ec7daf',
950: '#000000',
},
}SCSS
$custom: #ec7daf; $custom-light: #f5a5c6; $custom-dark: #000000;
JSON
{
"hex": "#ec7daf",
"rgb": {
"r": 236,
"g": 125,
"b": 175
},
"hsl": {
"h": 332.973,
"s": 74.497,
"l": 70.784
},
"oklch": {
"l": 0.72785,
"c": 0.14695,
"h": 353
},
"luminance": 0.35595
}Semantic roles & 50–950 ramp
primary
#EC7DAF
secondary
#D3F1E4
accent
#D77D0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82