#E04742#E04742
#E04742 is a mid, vivid red. Relative luminance 0.207; OKLCH L 61.5% C 0.191 H 26.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E04742 |
|---|---|
| RGB | rgb(224, 71, 66) |
| HSL | hsl(2, 72%, 57%) |
| HSV | hsv(2, 71%, 88%) |
| CMYK | cmyk(0%, 68.3%, 70.5%, 12.2%) |
| CIE-LAB | lab(52.68, 58.85, 36.90) |
| CIE-LCH | lch(52.68, 69.46, 32.09°) |
| OKLab | oklab(61.47% 0.1708 0.0844) |
| OKLCH | oklch(61.47% 0.191 26.3) |
| XYZ | xyz(33.9808, 20.7521, 7.3695) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 2.50
Dark Coral
#CF524E
ΔE00 3.77
Pastel Red
#DB5856
ΔE00 4.18
Faded Red
#D3494E
ΔE00 4.47
Strawberry (survey)
#FB2943
ΔE00 4.96
Cherry Red
#F7022A
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E04742 #42DBE0
analogous
#E0428C #E04742 #E09642
triadic
#E04742 #42E047 #4742E0
tetradic
#E04742 #8CE042 #42DBE0 #9642E0
square
#E04742 #8CE042 #42DBE0 #9642E0
split-complementary
#E04742 #42E096 #428CE0
monochromatic
#901B18 #C52520 #E04742 #E97A77 #F1ADAB
Accessibility & contrast
On white
4.08
#E04742 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#E04742 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E04742
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E04742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E04742 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#988A3D
Tritanopia (blue-blind)
#F61647
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #e04742; /* rgb */ color: rgb(224, 71, 66); /* oklch */ color: oklch(61.5% 0.191 26.3);
Tailwind
colors: {
custom: {
50: '#f28377',
500: '#e04742',
950: '#000000',
},
}SCSS
$custom: #e04742; $custom-light: #f28377; $custom-dark: #000000;
JSON
{
"hex": "#e04742",
"rgb": {
"r": 224,
"g": 71,
"b": 66
},
"hsl": {
"h": 1.899,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.61468,
"c": 0.19052,
"h": 26.3
},
"luminance": 0.20747
}Semantic roles & 50–950 ramp
primary
#E04742
secondary
#9FDDDF
accent
#E9EF39
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B