#D42F23#D42F23
#D42F23 is a mid, highly saturated red. Relative luminance 0.162; OKLCH L 56.9% C 0.203 H 29.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D42F23 |
|---|---|
| RGB | rgb(212, 47, 35) |
| HSL | hsl(4, 72%, 48%) |
| HSV | hsv(4, 83%, 83%) |
| CMYK | cmyk(0%, 77.8%, 83.5%, 16.9%) |
| CIE-LAB | lab(47.18, 62.24, 47.15) |
| CIE-LCH | lch(47.18, 78.08, 37.15°) |
| OKLab | oklab(56.86% 0.1767 0.099) |
| OKLCH | oklch(56.86% 0.203 29.3) |
| XYZ | xyz(28.4748, 16.1560, 3.2089) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.38
Reddish
#C44240
ΔE00 6.42
Cherry Red
#F7022A
ΔE00 6.54
Tomato Red
#EC2D01
ΔE00 6.99
Scarlet
#BE0119
ΔE00 7.27
Tomato (survey)
#EF4026
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42F23 #23C8D4
analogous
#D4236F #D42F23 #D48723
triadic
#D42F23 #23D42F #2F23D4
tetradic
#D42F23 #6FD423 #23C8D4 #8723D4
square
#D42F23 #6FD423 #23C8D4 #8723D4
split-complementary
#D42F23 #23D487 #236FD4
monochromatic
#6B1812 #9F231A #D42F23 #E25C52 #EB8D86
Accessibility & contrast
On white
4.96
#D42F23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#D42F23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42F23
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42F23 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64591F
Deuteranopia (green-blind)
#8C7D19
Tritanopia (blue-blind)
#EA002F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #d42f23; /* rgb */ color: rgb(212, 47, 35); /* oklch */ color: oklch(56.9% 0.203 29.3);
Tailwind
colors: {
custom: {
50: '#ec7660',
500: '#d42f23',
950: '#000000',
},
}SCSS
$custom: #d42f23; $custom-light: #ec7660; $custom-dark: #000000;
JSON
{
"hex": "#d42f23",
"rgb": {
"r": 212,
"g": 47,
"b": 35
},
"hsl": {
"h": 4.068,
"s": 71.66,
"l": 48.431
},
"oklch": {
"l": 0.56861,
"c": 0.20254,
"h": 29.3
},
"luminance": 0.16151
}Semantic roles & 50–950 ramp
primary
#D42F23
secondary
#7ECFD4
accent
#E2EE39
background
#FFF7F5
surface
#FFEEEA
border
#D7C9C6
text
#190A05
muted
#867C79