#EC8CA7#EC8CA7
#EC8CA7 is a light, vivid pink. Relative luminance 0.394; OKLCH L 74.8% C 0.120 H 2.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8CA7 |
|---|---|
| RGB | rgb(236, 140, 167) |
| HSL | hsl(343, 72%, 74%) |
| HSV | hsv(343, 41%, 93%) |
| CMYK | cmyk(0%, 40.7%, 29.2%, 7.5%) |
| CIE-LAB | lab(69.03, 39.66, 1.63) |
| CIE-LCH | lch(69.03, 39.69, 2.35°) |
| OKLab | oklab(74.84% 0.1201 0.0048) |
| OKLCH | oklch(74.84% 0.12 2.3) |
| XYZ | xyz(50.9469, 39.3829, 41.4701) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 1.24
Pinky
#FC86AA
ΔE00 3.08
Rosa
#FE86A4
ΔE00 3.50
Carnation Pink
#FF7FA7
ΔE00 4.23
Dull Pink
#D5869D
ΔE00 4.30
Rose Pink
#F7879A
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8CA7 #8CECD1
analogous
#EC8CD7 #EC8CA7 #ECA18C
triadic
#EC8CA7 #A7EC8C #8CA7EC
tetradic
#EC8CA7 #D7EC8C #8CECD1 #A18CEC
square
#EC8CA7 #D7EC8C #8CECD1 #A18CEC
split-complementary
#EC8CA7 #8CECA1 #8CD7EC
monochromatic
#DA2457 #E3577F #EC8CA7 #F5C1CF #FBE5EB
Accessibility & contrast
On white
2.37
#EC8CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#EC8CA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8CA7
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8CA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8CA7 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A9EA8
Deuteranopia (green-blind)
#B2AFA5
Tritanopia (blue-blind)
#FB8595
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ec8ca7; /* rgb */ color: rgb(236, 140, 167); /* oklch */ color: oklch(74.8% 0.120 2.3);
Tailwind
colors: {
custom: {
50: '#f4afc1',
500: '#ec8ca7',
950: '#000000',
},
}SCSS
$custom: #ec8ca7; $custom-light: #f4afc1; $custom-dark: #000000;
JSON
{
"hex": "#ec8ca7",
"rgb": {
"r": 236,
"g": 140,
"b": 167
},
"hsl": {
"h": 343.125,
"s": 71.642,
"l": 73.725
},
"oklch": {
"l": 0.74841,
"c": 0.12016,
"h": 2.3
},
"luminance": 0.39379
}Semantic roles & 50–950 ramp
primary
#EC8CA7
secondary
#D9F2EB
accent
#D49D12
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171012
muted
#857F81