#D51F20#D51F20
#D51F20 is a mid, highly saturated red. Relative luminance 0.152; OKLCH L 56.0% C 0.213 H 27.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D51F20 |
|---|---|
| RGB | rgb(213, 31, 32) |
| HSL | hsl(360, 75%, 48%) |
| HSV | hsv(360, 85%, 84%) |
| CMYK | cmyk(0%, 85.4%, 85%, 16.5%) |
| CIE-LAB | lab(45.95, 66.42, 47.63) |
| CIE-LCH | lch(45.95, 81.73, 35.64°) |
| OKLab | oklab(55.98% 0.1892 0.0987) |
| OKLCH | oklch(55.98% 0.213 27.5) |
| XYZ | xyz(28.1949, 15.2351, 2.8224) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.86
Scarlet
#BE0119
ΔE00 5.92
Reddish
#C44240
ΔE00 6.46
Cherry Red
#F7022A
ΔE00 6.69
Firebrick
#B22222
ΔE00 7.15
Cherry (survey)
#CF0234
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D51F20 #1FD5D4
analogous
#D51F7B #D51F20 #D5791F
triadic
#D51F20 #20D51F #1F20D5
tetradic
#D51F20 #7BD51F #1FD5D4 #791FD5
square
#D51F20 #7BD51F #1FD5D4 #791FD5
split-complementary
#D51F20 #1FD579 #1F7BD5
monochromatic
#6A0F10 #A01718 #D51F20 #E54C4D #ED8282
Accessibility & contrast
On white
5.19
#D51F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#D51F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D51F20
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D51F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D51F20 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E541D
Deuteranopia (green-blind)
#8A7A13
Tritanopia (blue-blind)
#EB0023
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #d51f20; /* rgb */ color: rgb(213, 31, 32); /* oklch */ color: oklch(56.0% 0.213 27.5);
Tailwind
colors: {
custom: {
50: '#ed715e',
500: '#d51f20',
950: '#000000',
},
}SCSS
$custom: #d51f20; $custom-light: #ed715e; $custom-dark: #000000;
JSON
{
"hex": "#d51f20",
"rgb": {
"r": 213,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.67,
"s": 74.59,
"l": 47.843
},
"oklch": {
"l": 0.5598,
"c": 0.21333,
"h": 27.5
},
"luminance": 0.1523
}Semantic roles & 50–950 ramp
primary
#D51F20
secondary
#7AD5D5
accent
#F1F037
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79