#D5211F#D5211F
#D5211F is a mid, highly saturated red. Relative luminance 0.153; OKLCH L 56.1% C 0.212 H 28.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D5211F |
|---|---|
| RGB | rgb(213, 33, 31) |
| HSL | hsl(1, 75%, 48%) |
| HSV | hsv(1, 85%, 84%) |
| CMYK | cmyk(0%, 84.5%, 85.4%, 16.5%) |
| CIE-LAB | lab(46.09, 65.98, 48.24) |
| CIE-LCH | lch(46.09, 81.73, 36.17°) |
| OKLab | oklab(56.08% 0.1876 0.0996) |
| OKLCH | oklch(56.08% 0.212 28) |
| XYZ | xyz(28.2354, 15.3375, 2.7698) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.53
Scarlet
#BE0119
ΔE00 6.13
Reddish
#C44240
ΔE00 6.65
Cherry Red
#F7022A
ΔE00 6.72
Firebrick
#B22222
ΔE00 7.34
Dull Red
#BB3F3F
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5211F #1FD3D5
analogous
#D51F78 #D5211F #D57C1F
triadic
#D5211F #1FD521 #211FD5
tetradic
#D5211F #78D51F #1FD3D5 #7C1FD5
square
#D5211F #78D51F #1FD3D5 #7C1FD5
split-complementary
#D5211F #1FD57C #1F78D5
monochromatic
#6A100F #A01917 #D5211F #E54E4C #ED8382
Accessibility & contrast
On white
5.16
#D5211F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#D5211F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D5211F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5211F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D5211F | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F541B
Deuteranopia (green-blind)
#8A7B12
Tritanopia (blue-blind)
#EB0024
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #d5211f; /* rgb */ color: rgb(213, 33, 31); /* oklch */ color: oklch(56.1% 0.212 28.0);
Tailwind
colors: {
custom: {
50: '#ed715d',
500: '#d5211f',
950: '#000000',
},
}SCSS
$custom: #d5211f; $custom-light: #ed715d; $custom-dark: #000000;
JSON
{
"hex": "#d5211f",
"rgb": {
"r": 213,
"g": 33,
"b": 31
},
"hsl": {
"h": 0.659,
"s": 74.59,
"l": 47.843
},
"oklch": {
"l": 0.5608,
"c": 0.21241,
"h": 28
},
"luminance": 0.15333
}Semantic roles & 50–950 ramp
primary
#D5211F
secondary
#7AD4D5
accent
#EFF137
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79