#EC504F#EC504F
#EC504F is a light, vivid red. Relative luminance 0.241; OKLCH L 64.6% C 0.193 H 24.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #EC504F |
|---|---|
| RGB | rgb(236, 80, 79) |
| HSL | hsl(0, 81%, 62%) |
| HSV | hsv(0, 67%, 93%) |
| CMYK | cmyk(0%, 66.1%, 66.5%, 7.5%) |
| CIE-LAB | lab(56.23, 59.82, 34.27) |
| CIE-LCH | lch(56.23, 68.95, 29.81°) |
| OKLab | oklab(64.57% 0.1751 0.0802) |
| OKLCH | oklch(64.57% 0.193 24.6) |
| XYZ | xyz(38.8761, 24.1402, 10.0081) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Red
#FF474C
ΔE00 3.04
Pastel Red
#DB5856
ΔE00 3.18
Pale Red
#D9544D
ΔE00 3.40
Grapefruit
#FD5956
ΔE00 3.94
Lightish Red
#FE2F4A
ΔE00 4.14
Strawberry (survey)
#FB2943
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC504F #4FEBEC
analogous
#EC4F9D #EC504F #EC9F4F
triadic
#EC504F #4FEC50 #504FEC
tetradic
#EC504F #9DEC4F #4FEBEC #9F4FEC
square
#EC504F #9DEC4F #4FEBEC #9F4FEC
split-complementary
#EC504F #4FEC9F #4F9DEC
monochromatic
#AE1413 #E51A19 #EC504F #F28786 #F8BEBD
Accessibility & contrast
On white
3.60
#EC504F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#EC504F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC504F
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC504F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC504F | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A724D
Deuteranopia (green-blind)
#A2934A
Tritanopia (blue-blind)
#FF2751
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ec504f; /* rgb */ color: rgb(236, 80, 79); /* oklch */ color: oklch(64.6% 0.193 24.6);
Tailwind
colors: {
custom: {
50: '#fa8980',
500: '#ec504f',
950: '#000000',
},
}SCSS
$custom: #ec504f; $custom-light: #fa8980; $custom-dark: #000000;
JSON
{
"hex": "#ec504f",
"rgb": {
"r": 236,
"g": 80,
"b": 79
},
"hsl": {
"h": 0.382,
"s": 80.513,
"l": 61.765
},
"oklch": {
"l": 0.64569,
"c": 0.19254,
"h": 24.6
},
"luminance": 0.24135
}Semantic roles & 50–950 ramp
primary
#EC504F
secondary
#AEE8E8
accent
#DBDD09
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#190C0A
muted
#867D7C