#EC97CA#EC97CA
#EC97CA is a light, moderate pink. Relative luminance 0.442; OKLCH L 77.7% C 0.120 H 343.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #EC97CA |
|---|---|
| RGB | rgb(236, 151, 202) |
| HSL | hsl(324, 69%, 76%) |
| HSV | hsv(324, 36%, 93%) |
| CMYK | cmyk(0%, 36%, 14.4%, 7.5%) |
| CIE-LAB | lab(72.38, 39.00, -12.88) |
| CIE-LCH | lch(72.38, 41.07, 341.72°) |
| OKLab | oklab(77.73% 0.1147 -0.034) |
| OKLCH | oklch(77.73% 0.12 343.5) |
| XYZ | xyz(56.3196, 44.2335, 61.4371) |
| Luminance | 0.4423 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubblegum Pink
#FE83CC
ΔE00 5.35
Pink (survey)
#FF81C0
ΔE00 5.81
Plum
#DDA0DD
ΔE00 6.15
Lavender Pink
#DD85D7
ΔE00 7.82
Powder Pink
#FFB2D0
ΔE00 7.84
Pinky
#FC86AA
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC97CA #97ECB9
analogous
#E397EC #EC97CA #EC979F
triadic
#EC97CA #CAEC97 #97CAEC
tetradic
#EC97CA #ECE397 #97ECB9 #979FEC
square
#EC97CA #ECE397 #97ECB9 #979FEC
split-complementary
#EC97CA #9FEC97 #97ECE3
monochromatic
#D93095 #E363B0 #EC97CA #F5CBE4 #FAE5F2
Accessibility & contrast
On white
2.13
#EC97CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#EC97CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC97CA
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC97CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC97CA | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CA9CC
Deuteranopia (green-blind)
#B1B7C8
Tritanopia (blue-blind)
#F697A9
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ec97ca; /* rgb */ color: rgb(236, 151, 202); /* oklch */ color: oklch(77.7% 0.120 343.5);
Tailwind
colors: {
custom: {
50: '#f3b7da',
500: '#ec97ca',
950: '#000000',
},
}SCSS
$custom: #ec97ca; $custom-light: #f3b7da; $custom-dark: #000000;
JSON
{
"hex": "#ec97ca",
"rgb": {
"r": 236,
"g": 151,
"b": 202
},
"hsl": {
"h": 324,
"s": 69.106,
"l": 75.882
},
"oklch": {
"l": 0.77728,
"c": 0.11963,
"h": 343.5
},
"luminance": 0.4423
}Semantic roles & 50–950 ramp
primary
#EC97CA
secondary
#D9F2E3
accent
#D16014
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083