#D24D42#D24D42
#D24D42 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.9% C 0.170 H 28.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D24D42 |
|---|---|
| RGB | rgb(210, 77, 66) |
| HSL | hsl(5, 62%, 54%) |
| HSV | hsv(5, 69%, 82%) |
| CMYK | cmyk(0%, 63.3%, 68.6%, 17.6%) |
| CIE-LAB | lab(51.16, 51.78, 34.51) |
| CIE-LCH | lch(51.16, 62.23, 33.69°) |
| OKLab | oklab(59.88% 0.1502 0.0799) |
| OKLCH | oklch(59.88% 0.17 28) |
| XYZ | xyz(30.2187, 19.4069, 7.3079) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 2.87
Dark Coral
#CF524E
ΔE00 2.88
Dark Salmon
#C85A53
ΔE00 3.98
Faded Red
#D3494E
ΔE00 4.40
Reddish
#C44240
ΔE00 4.73
Pastel Red
#DB5856
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D24D42 #42C7D2
analogous
#D2427F #D24D42 #D29542
triadic
#D24D42 #42D24D #4D42D2
tetradic
#D24D42 #7FD242 #42C7D2 #9542D2
square
#D24D42 #7FD242 #42C7D2 #9542D2
split-complementary
#D24D42 #42D295 #427FD2
monochromatic
#7C251E #AD3329 #D24D42 #DE7C73 #EAAAA5
Accessibility & contrast
On white
4.30
#D24D42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#D24D42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D24D42
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D24D42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D24D42 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716840
Deuteranopia (green-blind)
#92853E
Tritanopia (blue-blind)
#E62D4B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #d24d42; /* rgb */ color: rgb(210, 77, 66); /* oklch */ color: oklch(59.9% 0.170 28.0);
Tailwind
colors: {
custom: {
50: '#e78577',
500: '#d24d42',
950: '#000000',
},
}SCSS
$custom: #d24d42; $custom-light: #e78577; $custom-dark: #000000;
JSON
{
"hex": "#d24d42",
"rgb": {
"r": 210,
"g": 77,
"b": 66
},
"hsl": {
"h": 4.583,
"s": 61.538,
"l": 54.118
},
"oklch": {
"l": 0.59879,
"c": 0.17007,
"h": 28
},
"luminance": 0.19403
}Semantic roles & 50–950 ramp
primary
#D24D42
secondary
#99D2D7
accent
#D8E543
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170B08
muted
#857C7B