#EC8EB5#EC8EB5
#EC8EB5 is a light, vivid pink. Relative luminance 0.405; OKLCH L 75.6% C 0.122 H 354.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8EB5 |
|---|---|
| RGB | rgb(236, 142, 181) |
| HSL | hsl(335, 71%, 74%) |
| HSV | hsv(335, 40%, 93%) |
| CMYK | cmyk(0%, 39.8%, 23.3%, 7.5%) |
| CIE-LAB | lab(69.84, 40.53, -5.02) |
| CIE-LCH | lch(69.84, 40.84, 352.95°) |
| OKLab | oklab(75.58% 0.1218 -0.0127) |
| OKLCH | oklch(75.58% 0.122 354) |
| XYZ | xyz(52.6068, 40.5187, 48.7572) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 4.38
Pinky
#FC86AA
ΔE00 4.42
Pink (survey)
#FF81C0
ΔE00 4.99
Carnation Pink
#FF7FA7
ΔE00 5.37
Dull Pink
#D5869D
ΔE00 5.81
Rosa
#FE86A4
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8EB5 #8EECC5
analogous
#EC8EE4 #EC8EB5 #EC968E
triadic
#EC8EB5 #B5EC8E #8EB5EC
tetradic
#EC8EB5 #E4EC8E #8EECC5 #968EEC
square
#EC8EB5 #E4EC8E #8EECC5 #968EEC
split-complementary
#EC8EB5 #8EEC96 #8EE4EC
monochromatic
#DA2570 #E35A93 #EC8EB5 #F5C2D7 #FBE5EE
Accessibility & contrast
On white
2.31
#EC8EB5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#EC8EB5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8EB5
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8EB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8EB5 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99A1B6
Deuteranopia (green-blind)
#B0B1B3
Tritanopia (blue-blind)
#F98A9C
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #ec8eb5; /* rgb */ color: rgb(236, 142, 181); /* oklch */ color: oklch(75.6% 0.122 354.0);
Tailwind
colors: {
custom: {
50: '#f4b0cb',
500: '#ec8eb5',
950: '#000000',
},
}SCSS
$custom: #ec8eb5; $custom-light: #f4b0cb; $custom-dark: #000000;
JSON
{
"hex": "#ec8eb5",
"rgb": {
"r": 236,
"g": 142,
"b": 181
},
"hsl": {
"h": 335.106,
"s": 71.212,
"l": 74.118
},
"oklch": {
"l": 0.75584,
"c": 0.12244,
"h": 354
},
"luminance": 0.40515
}Semantic roles & 50–950 ramp
primary
#EC8EB5
secondary
#D9F2E8
accent
#D38312
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082