#EC8EB2#EC8EB2
#EC8EB2 is a light, vivid pink. Relative luminance 0.404; OKLCH L 75.5% C 0.121 H 355.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8EB2 |
|---|---|
| RGB | rgb(236, 142, 178) |
| HSL | hsl(337, 71%, 74%) |
| HSV | hsv(337, 40%, 93%) |
| CMYK | cmyk(0%, 39.8%, 24.6%, 7.5%) |
| CIE-LAB | lab(69.75, 40.11, -3.47) |
| CIE-LCH | lch(69.75, 40.26, 355.06°) |
| OKLab | oklab(75.49% 0.1208 -0.0086) |
| OKLCH | oklch(75.49% 0.121 355.9) |
| XYZ | xyz(52.3023, 40.3969, 47.1535) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 3.58
Pinky
#FC86AA
ΔE00 3.91
Carnation Pink
#FF7FA7
ΔE00 4.97
Dull Pink
#D5869D
ΔE00 5.31
Rosa
#FE86A4
ΔE00 5.31
Pink (survey)
#FF81C0
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8EB2 #8EECC8
analogous
#EC8EE1 #EC8EB2 #EC998E
triadic
#EC8EB2 #B2EC8E #8EB2EC
tetradic
#EC8EB2 #E1EC8E #8EECC8 #998EEC
square
#EC8EB2 #E1EC8E #8EECC8 #998EEC
split-complementary
#EC8EB2 #8EEC99 #8EE1EC
monochromatic
#DA256B #E35A8E #EC8EB2 #F5C2D6 #FBE5ED
Accessibility & contrast
On white
2.31
#EC8EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#EC8EB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8EB2
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8EB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8EB2 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AA0B3
Deuteranopia (green-blind)
#B1B1B0
Tritanopia (blue-blind)
#FA899B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #ec8eb2; /* rgb */ color: rgb(236, 142, 178); /* oklch */ color: oklch(75.5% 0.121 355.9);
Tailwind
colors: {
custom: {
50: '#f4b0c9',
500: '#ec8eb2',
950: '#000000',
},
}SCSS
$custom: #ec8eb2; $custom-light: #f4b0c9; $custom-dark: #000000;
JSON
{
"hex": "#ec8eb2",
"rgb": {
"r": 236,
"g": 142,
"b": 178
},
"hsl": {
"h": 337.021,
"s": 71.212,
"l": 74.118
},
"oklch": {
"l": 0.7549,
"c": 0.12108,
"h": 355.9
},
"luminance": 0.40393
}Semantic roles & 50–950 ramp
primary
#EC8EB2
secondary
#D9F2E8
accent
#D38912
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082