#EC877F#EC877F
#EC877F is a light, vivid red. Relative luminance 0.367; OKLCH L 73.0% C 0.125 H 25.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #EC877F |
|---|---|
| RGB | rgb(236, 135, 127) |
| HSL | hsl(4, 74%, 71%) |
| HSV | hsv(4, 46%, 93%) |
| CMYK | cmyk(0%, 42.8%, 46.2%, 7.5%) |
| CIE-LAB | lab(67.05, 37.67, 21.25) |
| CIE-LCH | lch(67.05, 43.25, 29.43°) |
| OKLab | oklab(73.03% 0.1129 0.0535) |
| OKLCH | oklch(73.03% 0.125 25.4) |
| XYZ | xyz(47.0896, 36.6975, 24.6779) |
| Luminance | 0.3669 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.84
Salmon
#FA8072
ΔE00 3.76
Salmon Pink
#FE7B7C
ΔE00 4.35
Salmon (survey)
#FF796C
ΔE00 5.08
Peachy Pink
#FF9A8A
ΔE00 5.66
Blush Pink
#FE828C
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC877F #7FE4EC
analogous
#EC7FAD #EC877F #ECBD7F
triadic
#EC877F #7FEC87 #877FEC
tetradic
#EC877F #ADEC7F #7FE4EC #BD7FEC
square
#EC877F #ADEC7F #7FE4EC #BD7FEC
split-complementary
#EC877F #7FECBD #7FADEC
monochromatic
#D22C1F #E4554A #EC877F #F4B9B4 #FBE6E4
Accessibility & contrast
On white
2.52
#EC877F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#EC877F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC877F
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC877F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC877F | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D977E
Deuteranopia (green-blind)
#B6AB7D
Tritanopia (blue-blind)
#FF7985
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #ec877f; /* rgb */ color: rgb(236, 135, 127); /* oklch */ color: oklch(73.0% 0.125 25.4);
Tailwind
colors: {
custom: {
50: '#f6aba4',
500: '#ec877f',
950: '#000000',
},
}SCSS
$custom: #ec877f; $custom-light: #f6aba4; $custom-dark: #000000;
JSON
{
"hex": "#ec877f",
"rgb": {
"r": 236,
"g": 135,
"b": 127
},
"hsl": {
"h": 4.404,
"s": 74.15,
"l": 71.176
},
"oklch": {
"l": 0.73029,
"c": 0.1249,
"h": 25.4
},
"luminance": 0.36693
}Semantic roles & 50–950 ramp
primary
#EC877F
secondary
#D5F0F2
accent
#C8D60F
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#18100F
muted
#867F7F