#EC8EB3#EC8EB3
#EC8EB3 is a light, vivid pink. Relative luminance 0.404; OKLCH L 75.5% C 0.122 H 355.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8EB3 |
|---|---|
| RGB | rgb(236, 142, 179) |
| HSL | hsl(336, 71%, 74%) |
| HSV | hsv(336, 40%, 93%) |
| CMYK | cmyk(0%, 39.8%, 24.2%, 7.5%) |
| CIE-LAB | lab(69.78, 40.25, -3.98) |
| CIE-LCH | lch(69.78, 40.45, 354.35°) |
| OKLab | oklab(75.52% 0.1211 -0.01) |
| OKLCH | oklch(75.52% 0.122 355.3) |
| XYZ | xyz(52.4030, 40.4372, 47.6842) |
| Luminance | 0.4043 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 3.85
Pinky
#FC86AA
ΔE00 4.07
Carnation Pink
#FF7FA7
ΔE00 5.09
Pink (survey)
#FF81C0
ΔE00 5.33
Dull Pink
#D5869D
ΔE00 5.47
Rosa
#FE86A4
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8EB3 #8EECC7
analogous
#EC8EE2 #EC8EB3 #EC988E
triadic
#EC8EB3 #B3EC8E #8EB3EC
tetradic
#EC8EB3 #E2EC8E #8EECC7 #988EEC
square
#EC8EB3 #E2EC8E #8EECC7 #988EEC
split-complementary
#EC8EB3 #8EEC98 #8EE2EC
monochromatic
#DA256D #E35A90 #EC8EB3 #F5C2D6 #FBE5ED
Accessibility & contrast
On white
2.31
#EC8EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#EC8EB3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8EB3
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8EB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8EB3 | 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)
#99A0B4
Deuteranopia (green-blind)
#B1B1B1
Tritanopia (blue-blind)
#FA8A9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #ec8eb3; /* rgb */ color: rgb(236, 142, 179); /* oklch */ color: oklch(75.5% 0.122 355.3);
Tailwind
colors: {
custom: {
50: '#f4b0c9',
500: '#ec8eb3',
950: '#000000',
},
}SCSS
$custom: #ec8eb3; $custom-light: #f4b0c9; $custom-dark: #000000;
JSON
{
"hex": "#ec8eb3",
"rgb": {
"r": 236,
"g": 142,
"b": 179
},
"hsl": {
"h": 336.383,
"s": 71.212,
"l": 74.118
},
"oklch": {
"l": 0.75522,
"c": 0.12152,
"h": 355.3
},
"luminance": 0.40434
}Semantic roles & 50–950 ramp
primary
#EC8EB3
secondary
#D9F2E8
accent
#D38712
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082