#EC5F52#EC5F52
#EC5F52 is a light, vivid red. Relative luminance 0.266; OKLCH L 66.4% C 0.177 H 28.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5F52 |
|---|---|
| RGB | rgb(236, 95, 82) |
| HSL | hsl(5, 80%, 62%) |
| HSV | hsv(5, 65%, 93%) |
| CMYK | cmyk(0%, 59.7%, 65.3%, 7.5%) |
| CIE-LAB | lab(58.63, 53.66, 35.52) |
| CIE-LCH | lch(58.63, 64.35, 33.50°) |
| OKLab | oklab(66.39% 0.1562 0.0833) |
| OKLCH | oklch(66.39% 0.177 28.1) |
| XYZ | xyz(40.2112, 26.6318, 11.0040) |
| Luminance | 0.2663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Coral (survey)
#FC5A50
ΔE00 2.61
Grapefruit
#FD5956
ΔE00 3.27
Light Red
#FF474C
ΔE00 4.35
Pale Red
#D9544D
ΔE00 4.95
Pastel Red
#DB5856
ΔE00 4.96
Coral Pink
#FF6163
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5F52 #52DFEC
analogous
#EC5292 #EC5F52 #ECAC52
triadic
#EC5F52 #52EC5F #5F52EC
tetradic
#EC5F52 #92EC52 #52DFEC #AC52EC
square
#EC5F52 #92EC52 #52DFEC #AC52EC
split-complementary
#EC5F52 #52ECAC #5292EC
monochromatic
#B02113 #E62C1B #EC5F52 #F29289 #F8C5C0
Accessibility & contrast
On white
3.32
#EC5F52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#EC5F52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5F52
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5F52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5F52 | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847A50
Deuteranopia (green-blind)
#A7984E
Tritanopia (blue-blind)
#FF415D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ec5f52; /* rgb */ color: rgb(236, 95, 82); /* oklch */ color: oklch(66.4% 0.177 28.1);
Tailwind
colors: {
custom: {
50: '#f99283',
500: '#ec5f52',
950: '#000000',
},
}SCSS
$custom: #ec5f52; $custom-light: #f99283; $custom-dark: #000000;
JSON
{
"hex": "#ec5f52",
"rgb": {
"r": 236,
"g": 95,
"b": 82
},
"hsl": {
"h": 5.065,
"s": 80.208,
"l": 62.353
},
"oklch": {
"l": 0.66389,
"c": 0.17707,
"h": 28.1
},
"luminance": 0.26626
}Semantic roles & 50–950 ramp
primary
#EC5F52
secondary
#B1E4E9
accent
#CBDD09
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190D0A
muted
#877E7C