#D22F1F#D22F1F
#D22F1F is a mid, highly saturated red. Relative luminance 0.158; OKLCH L 56.5% C 0.201 H 30.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D22F1F |
|---|---|
| RGB | rgb(210, 47, 31) |
| HSL | hsl(5, 74%, 47%) |
| HSV | hsv(5, 85%, 82%) |
| CMYK | cmyk(0%, 77.6%, 85.2%, 17.6%) |
| CIE-LAB | lab(46.76, 61.56, 48.57) |
| CIE-LCH | lch(46.76, 78.41, 38.27°) |
| OKLab | oklab(56.47% 0.1741 0.1008) |
| OKLCH | oklch(56.47% 0.201 30.1) |
| XYZ | xyz(27.8457, 15.8381, 2.8870) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.02
Tomato Red
#EC2D01
ΔE00 6.73
Reddish
#C44240
ΔE00 7.04
Scarlet
#BE0119
ΔE00 7.18
Cherry Red
#F7022A
ΔE00 7.28
Tomato (survey)
#EF4026
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D22F1F #1FC2D2
analogous
#D21F69 #D22F1F #D2881F
triadic
#D22F1F #1FD22F #2F1FD2
tetradic
#D22F1F #69D21F #1FC2D2 #881FD2
square
#D22F1F #69D21F #1FC2D2 #881FD2
split-complementary
#D22F1F #1FD288 #1F69D2
monochromatic
#67170F #9D2317 #D22F1F #E4584A #EC897F
Accessibility & contrast
On white
5.04
#D22F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#D22F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D22F1F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D22F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D22F1F | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63581A
Deuteranopia (green-blind)
#8B7C14
Tritanopia (blue-blind)
#E8002E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #d22f1f; /* rgb */ color: rgb(210, 47, 31); /* oklch */ color: oklch(56.5% 0.201 30.1);
Tailwind
colors: {
custom: {
50: '#ea765e',
500: '#d22f1f',
950: '#000000',
},
}SCSS
$custom: #d22f1f; $custom-light: #ea765e; $custom-dark: #000000;
JSON
{
"hex": "#d22f1f",
"rgb": {
"r": 210,
"g": 47,
"b": 31
},
"hsl": {
"h": 5.363,
"s": 74.274,
"l": 47.255
},
"oklch": {
"l": 0.56473,
"c": 0.20115,
"h": 30.1
},
"luminance": 0.15834
}Semantic roles & 50–950 ramp
primary
#D22F1F
secondary
#78CCD4
accent
#E0F137
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#180904
muted
#867B79