#EC5751#EC5751
#EC5751 is a light, vivid red. Relative luminance 0.252; OKLCH L 65.4% C 0.185 H 25.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5751 |
|---|---|
| RGB | rgb(236, 87, 81) |
| HSL | hsl(2, 80%, 62%) |
| HSV | hsv(2, 66%, 93%) |
| CMYK | cmyk(0%, 63.1%, 65.7%, 7.5%) |
| CIE-LAB | lab(57.32, 57.07, 34.47) |
| CIE-LCH | lch(57.32, 66.67, 31.13°) |
| OKLab | oklab(65.4% 0.1668 0.0809) |
| OKLCH | oklch(65.4% 0.185 25.9) |
| XYZ | xyz(39.4895, 25.2488, 10.5771) |
| Luminance | 0.2524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Grapefruit
#FD5956
ΔE00 3.18
Light Red
#FF474C
ΔE00 3.21
Coral (survey)
#FC5A50
ΔE00 3.33
Pastel Red
#DB5856
ΔE00 3.61
Pale Red
#D9544D
ΔE00 3.81
Watermelon (survey)
#FD4659
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5751 #51E6EC
analogous
#EC5198 #EC5751 #ECA551
triadic
#EC5751 #51EC57 #5751EC
tetradic
#EC5751 #98EC51 #51E6EC #A551EC
square
#EC5751 #98EC51 #51E6EC #A551EC
split-complementary
#EC5751 #51ECA5 #5198EC
monochromatic
#AF1913 #E6221A #EC5751 #F28C88 #F8C2BF
Accessibility & contrast
On white
3.47
#EC5751 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#EC5751 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5751
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5751 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F754F
Deuteranopia (green-blind)
#A4964D
Tritanopia (blue-blind)
#FF3557
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ec5751; /* rgb */ color: rgb(236, 87, 81); /* oklch */ color: oklch(65.4% 0.185 25.9);
Tailwind
colors: {
custom: {
50: '#fa8d82',
500: '#ec5751',
950: '#000000',
},
}SCSS
$custom: #ec5751; $custom-light: #fa8d82; $custom-dark: #000000;
JSON
{
"hex": "#ec5751",
"rgb": {
"r": 236,
"g": 87,
"b": 81
},
"hsl": {
"h": 2.323,
"s": 80.311,
"l": 62.157
},
"oklch": {
"l": 0.65395,
"c": 0.18533,
"h": 25.9
},
"luminance": 0.25243
}Semantic roles & 50–950 ramp
primary
#EC5751
secondary
#B0E7E9
accent
#D4DD09
background
#FFF9F7
surface
#FFF1EE
border
#D7CBC9
text
#190D0A
muted
#877E7C