#D1402F#D1402F
#D1402F is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.185 H 30.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D1402F |
|---|---|
| RGB | rgb(209, 64, 47) |
| HSL | hsl(6, 64%, 50%) |
| HSV | hsv(6, 78%, 82%) |
| CMYK | cmyk(0%, 69.4%, 77.5%, 18%) |
| CIE-LAB | lab(48.80, 55.92, 42.34) |
| CIE-LCH | lch(48.80, 70.14, 37.14°) |
| OKLab | oklab(58% 0.1595 0.0928) |
| OKLCH | oklch(58% 0.185 30.2) |
| XYZ | xyz(28.6443, 17.4317, 4.5452) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 5.49
Red (survey)
#E50000
ΔE00 6.01
Tomato (survey)
#EF4026
ΔE00 6.51
Dark Coral
#CF524E
ΔE00 6.52
Pale Red
#D9544D
ΔE00 6.58
Cherry Red
#F7022A
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1402F #2FC0D1
analogous
#D12F6F #D1402F #D1912F
triadic
#D1402F #2FD140 #402FD1
tetradic
#D1402F #6FD12F #2FC0D1 #912FD1
square
#D1402F #6FD12F #2FC0D1 #912FD1
split-complementary
#D1402F #2FD191 #2F6FD1
monochromatic
#6D2118 #A03023 #D1402F #DC6E61 #E79C93
Accessibility & contrast
On white
4.68
#D1402F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#D1402F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D1402F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D1402F | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A602C
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#E6063D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #d1402f; /* rgb */ color: rgb(209, 64, 47); /* oklch */ color: oklch(58.0% 0.185 30.2);
Tailwind
colors: {
custom: {
50: '#e87d69',
500: '#d1402f',
950: '#000000',
},
}SCSS
$custom: #d1402f; $custom-light: #e87d69; $custom-dark: #000000;
JSON
{
"hex": "#d1402f",
"rgb": {
"r": 209,
"g": 64,
"b": 47
},
"hsl": {
"h": 6.296,
"s": 63.78,
"l": 50.196
},
"oklch": {
"l": 0.58003,
"c": 0.18452,
"h": 30.2
},
"luminance": 0.17427
}Semantic roles & 50–950 ramp
primary
#D1402F
secondary
#8ACBD2
accent
#D5E741
background
#FFF8F6
surface
#FFEFEB
border
#D7CAC6
text
#180A06
muted
#867C7A