#EC8EB4#EC8EB4
#EC8EB4 is a light, vivid pink. Relative luminance 0.405; OKLCH L 75.6% C 0.122 H 354.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8EB4 |
|---|---|
| RGB | rgb(236, 142, 180) |
| HSL | hsl(336, 71%, 74%) |
| HSV | hsv(336, 40%, 93%) |
| CMYK | cmyk(0%, 39.8%, 23.7%, 7.5%) |
| CIE-LAB | lab(69.81, 40.39, -4.50) |
| CIE-LCH | lch(69.81, 40.64, 353.64°) |
| OKLab | oklab(75.55% 0.1214 -0.0114) |
| OKLCH | oklch(75.55% 0.122 354.7) |
| XYZ | xyz(52.5045, 40.4778, 48.2188) |
| Luminance | 0.4047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 4.12
Pinky
#FC86AA
ΔE00 4.24
Pink (survey)
#FF81C0
ΔE00 5.16
Carnation Pink
#FF7FA7
ΔE00 5.23
Dull Pink
#D5869D
ΔE00 5.63
Rosa
#FE86A4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8EB4 #8EECC6
analogous
#EC8EE3 #EC8EB4 #EC978E
triadic
#EC8EB4 #B4EC8E #8EB4EC
tetradic
#EC8EB4 #E3EC8E #8EECC6 #978EEC
square
#EC8EB4 #E3EC8E #8EECC6 #978EEC
split-complementary
#EC8EB4 #8EEC97 #8EE3EC
monochromatic
#DA256E #E35A91 #EC8EB4 #F5C2D7 #FBE5EE
Accessibility & contrast
On white
2.31
#EC8EB4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#EC8EB4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8EB4
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8EB4 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99A1B5
Deuteranopia (green-blind)
#B0B1B2
Tritanopia (blue-blind)
#F98A9B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #ec8eb4; /* rgb */ color: rgb(236, 142, 180); /* oklch */ color: oklch(75.6% 0.122 354.7);
Tailwind
colors: {
custom: {
50: '#f4b0ca',
500: '#ec8eb4',
950: '#000000',
},
}SCSS
$custom: #ec8eb4; $custom-light: #f4b0ca; $custom-dark: #000000;
JSON
{
"hex": "#ec8eb4",
"rgb": {
"r": 236,
"g": 142,
"b": 180
},
"hsl": {
"h": 335.745,
"s": 71.212,
"l": 74.118
},
"oklch": {
"l": 0.75553,
"c": 0.12197,
"h": 354.7
},
"luminance": 0.40474
}Semantic roles & 50–950 ramp
primary
#EC8EB4
secondary
#D9F2E8
accent
#D38512
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082