#EC867F#EC867F
#EC867F is a light, vivid red. Relative luminance 0.364; OKLCH L 72.9% C 0.126 H 24.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #EC867F |
|---|---|
| RGB | rgb(236, 134, 127) |
| HSL | hsl(4, 74%, 71%) |
| HSV | hsv(4, 46%, 93%) |
| CMYK | cmyk(0%, 43.2%, 46.2%, 7.5%) |
| CIE-LAB | lab(66.84, 38.18, 20.96) |
| CIE-LCH | lch(66.84, 43.56, 28.77°) |
| OKLab | oklab(72.87% 0.1145 0.0528) |
| OKLCH | oklch(72.87% 0.126 24.8) |
| XYZ | xyz(46.9508, 36.4198, 24.6316) |
| Luminance | 0.3641 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.47
Salmon
#FA8072
ΔE00 3.86
Salmon Pink
#FE7B7C
ΔE00 4.08
Salmon (survey)
#FF796C
ΔE00 5.09
Blush Pink
#FE828C
ΔE00 5.57
Peachy Pink
#FF9A8A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC867F #7FE5EC
analogous
#EC7FAE #EC867F #ECBC7F
triadic
#EC867F #7FEC86 #867FEC
tetradic
#EC867F #AEEC7F #7FE5EC #BC7FEC
square
#EC867F #AEEC7F #7FE5EC #BC7FEC
split-complementary
#EC867F #7FECBC #7FAEEC
monochromatic
#D22B1F #E4544A #EC867F #F4B8B4 #FBE6E4
Accessibility & contrast
On white
2.54
#EC867F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#EC867F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC867F
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC867F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC867F | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D967E
Deuteranopia (green-blind)
#B5AB7D
Tritanopia (blue-blind)
#FF7885
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #ec867f; /* rgb */ color: rgb(236, 134, 127); /* oklch */ color: oklch(72.9% 0.126 24.8);
Tailwind
colors: {
custom: {
50: '#f6aba4',
500: '#ec867f',
950: '#000000',
},
}SCSS
$custom: #ec867f; $custom-light: #f6aba4; $custom-dark: #000000;
JSON
{
"hex": "#ec867f",
"rgb": {
"r": 236,
"g": 134,
"b": 127
},
"hsl": {
"h": 3.853,
"s": 74.15,
"l": 71.176
},
"oklch": {
"l": 0.72868,
"c": 0.12605,
"h": 24.8
},
"luminance": 0.36415
}Semantic roles & 50–950 ramp
primary
#EC867F
secondary
#D5F0F2
accent
#C9D60F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#18100F
muted
#867F7F