#EC8FA1#EC8FA1
#EC8FA1 is a light, moderate red. Relative luminance 0.401; OKLCH L 75.2% C 0.114 H 7.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8FA1 |
|---|---|
| RGB | rgb(236, 143, 161) |
| HSL | hsl(348, 71%, 74%) |
| HSV | hsv(348, 39%, 93%) |
| CMYK | cmyk(0%, 39.4%, 31.8%, 7.5%) |
| CIE-LAB | lab(69.51, 37.33, 5.68) |
| CIE-LCH | lch(69.51, 37.76, 8.65°) |
| OKLab | oklab(75.16% 0.1132 0.0152) |
| OKLCH | oklch(75.16% 0.114 7.7) |
| XYZ | xyz(50.8494, 40.0549, 38.7645) |
| Luminance | 0.4005 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pig Pink
#E78EA5
ΔE00 2.05
Rose Pink
#F7879A
ΔE00 2.97
Rosa
#FE86A4
ΔE00 3.95
Dusty Pink (survey)
#D58A94
ΔE00 4.61
Pinky
#FC86AA
ΔE00 4.68
Dull Pink
#D5869D
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8FA1 #8FECDA
analogous
#EC8FD0 #EC8FA1 #ECAC8F
triadic
#EC8FA1 #A1EC8F #8FA1EC
tetradic
#EC8FA1 #D0EC8F #8FECDA #AC8FEC
square
#EC8FA1 #D0EC8F #8FECDA #AC8FEC
split-complementary
#EC8FA1 #8FECAC #8FD0EC
monochromatic
#DA2649 #E35B75 #EC8FA1 #F5C3CD #FBE5E9
Accessibility & contrast
On white
2.33
#EC8FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#EC8FA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8FA1
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8FA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8FA1 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E9FA1
Deuteranopia (green-blind)
#B5B09F
Tritanopia (blue-blind)
#FB8795
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #ec8fa1; /* rgb */ color: rgb(236, 143, 161); /* oklch */ color: oklch(75.2% 0.114 7.7);
Tailwind
colors: {
custom: {
50: '#f4b1bc',
500: '#ec8fa1',
950: '#000000',
},
}SCSS
$custom: #ec8fa1; $custom-light: #f4b1bc; $custom-dark: #000000;
JSON
{
"hex": "#ec8fa1",
"rgb": {
"r": 236,
"g": 143,
"b": 161
},
"hsl": {
"h": 348.387,
"s": 70.992,
"l": 74.314
},
"oklch": {
"l": 0.75156,
"c": 0.11419,
"h": 7.7
},
"luminance": 0.40051
}Semantic roles & 50–950 ramp
primary
#EC8FA1
secondary
#D9F2ED
accent
#D3AE12
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#171112
muted
#858081