#EC8CC2#EC8CC2
#EC8CC2 is a light, vivid pink. Relative luminance 0.405; OKLCH L 75.7% C 0.133 H 345.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8CC2 |
|---|---|
| RGB | rgb(236, 140, 194) |
| HSL | hsl(326, 72%, 74%) |
| HSV | hsv(326, 41%, 93%) |
| CMYK | cmyk(0%, 40.7%, 17.8%, 7.5%) |
| CIE-LAB | lab(69.82, 43.48, -12.30) |
| CIE-LCH | lch(69.82, 45.18, 344.21°) |
| OKLab | oklab(75.7% 0.129 -0.0323) |
| OKLCH | oklch(75.7% 0.133 345.9) |
| XYZ | xyz(53.7085, 40.4876, 56.0145) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubblegum Pink
#FE83CC
ΔE00 3.81
Pink (survey)
#FF81C0
ΔE00 3.83
Bubblegum (survey)
#FF6CB5
ΔE00 6.79
Hot Pink
#FF69B4
ΔE00 7.23
Pinky
#FC86AA
ΔE00 7.27
Lavender Pink
#DD85D7
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8CC2 #8CECB6
analogous
#E68CEC #EC8CC2 #EC8C92
triadic
#EC8CC2 #C2EC8C #8CC2EC
tetradic
#EC8CC2 #ECE68C #8CECB6 #8C92EC
square
#EC8CC2 #ECE68C #8CECB6 #8C92EC
split-complementary
#EC8CC2 #92EC8C #8CECE6
monochromatic
#DA248A #E357A6 #EC8CC2 #F5C1DE #FBE5F1
Accessibility & contrast
On white
2.31
#EC8CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#EC8CC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8CC2
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8CC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8CC2 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A1C4
Deuteranopia (green-blind)
#ACB0BF
Tritanopia (blue-blind)
#F88BA0
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #ec8cc2; /* rgb */ color: rgb(236, 140, 194); /* oklch */ color: oklch(75.7% 0.133 345.9);
Tailwind
colors: {
custom: {
50: '#f4afd4',
500: '#ec8cc2',
950: '#000000',
},
}SCSS
$custom: #ec8cc2; $custom-light: #f4afd4; $custom-dark: #000000;
JSON
{
"hex": "#ec8cc2",
"rgb": {
"r": 236,
"g": 140,
"b": 194
},
"hsl": {
"h": 326.25,
"s": 71.642,
"l": 73.725
},
"oklch": {
"l": 0.75698,
"c": 0.13301,
"h": 345.9
},
"luminance": 0.40484
}Semantic roles & 50–950 ramp
primary
#EC8CC2
secondary
#D9F2E4
accent
#D46712
background
#FFFAFD
surface
#FEF5FA
border
#D6CFD3
text
#171014
muted
#857F83