#D4271F#D4271F
#D4271F is a mid, highly saturated red. Relative luminance 0.155; OKLCH L 56.3% C 0.208 H 28.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #D4271F |
|---|---|
| RGB | rgb(212, 39, 31) |
| HSL | hsl(3, 74%, 48%) |
| HSV | hsv(3, 85%, 83%) |
| CMYK | cmyk(0%, 81.6%, 85.4%, 16.9%) |
| CIE-LAB | lab(46.38, 64.32, 48.40) |
| CIE-LCH | lch(46.38, 80.49, 36.96°) |
| OKLab | oklab(56.26% 0.1825 0.1001) |
| OKLCH | oklch(56.26% 0.208 28.8) |
| XYZ | xyz(28.1278, 15.5517, 2.8168) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.23
Scarlet
#BE0119
ΔE00 6.52
Reddish
#C44240
ΔE00 6.76
Cherry Red
#F7022A
ΔE00 6.85
Tomato Red
#EC2D01
ΔE00 7.39
Firebrick
#B22222
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4271F #1FCCD4
analogous
#D41F71 #D4271F #D4821F
triadic
#D4271F #1FD427 #271FD4
tetradic
#D4271F #71D41F #1FCCD4 #821FD4
square
#D4271F #71D41F #1FCCD4 #821FD4
split-complementary
#D4271F #1FD482 #1F71D4
monochromatic
#69130F #9F1D17 #D4271F #E5524B #ED8681
Accessibility & contrast
On white
5.11
#D4271F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#D4271F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D4271F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D4271F | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61561B
Deuteranopia (green-blind)
#8B7B13
Tritanopia (blue-blind)
#EA0028
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #d4271f; /* rgb */ color: rgb(212, 39, 31); /* oklch */ color: oklch(56.3% 0.208 28.8);
Tailwind
colors: {
custom: {
50: '#ec735e',
500: '#d4271f',
950: '#000000',
},
}SCSS
$custom: #d4271f; $custom-light: #ec735e; $custom-dark: #000000;
JSON
{
"hex": "#d4271f",
"rgb": {
"r": 212,
"g": 39,
"b": 31
},
"hsl": {
"h": 2.652,
"s": 74.486,
"l": 47.647
},
"oklch": {
"l": 0.56259,
"c": 0.20816,
"h": 28.8
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#D4271F
secondary
#7AD1D5
accent
#E9F137
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79