#D7312E#D7312E
#D7312E is a mid, highly saturated red. Relative luminance 0.168; OKLCH L 57.7% C 0.203 H 27.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D7312E |
|---|---|
| RGB | rgb(215, 49, 46) |
| HSL | hsl(1, 68%, 51%) |
| HSV | hsv(1, 79%, 84%) |
| CMYK | cmyk(0%, 77.2%, 78.6%, 15.7%) |
| CIE-LAB | lab(48.06, 62.84, 42.47) |
| CIE-LCH | lch(48.06, 75.85, 34.05°) |
| OKLab | oklab(57.65% 0.1804 0.0923) |
| OKLCH | oklch(57.65% 0.203 27.1) |
| XYZ | xyz(29.6194, 16.8457, 4.2762) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.82
Cherry Red
#F7022A
ΔE00 5.33
Crimson
#DC143C
ΔE00 6.15
Red (survey)
#E50000
ΔE00 6.21
Dull Red
#BB3F3F
ΔE00 6.45
Dark Coral
#CF524E
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7312E #2ED4D7
analogous
#D72E7F #D7312E #D7852E
triadic
#D7312E #2ED731 #312ED7
tetradic
#D7312E #7FD72E #2ED4D7 #852ED7
square
#D7312E #7FD72E #2ED4D7 #852ED7
split-complementary
#D7312E #2ED785 #2E7FD7
monochromatic
#741816 #A82320 #D7312E #E16461 #EB9695
Accessibility & contrast
On white
4.81
#D7312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#D7312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D7312E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D7312E | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#ED0033
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #d7312e; /* rgb */ color: rgb(215, 49, 46); /* oklch */ color: oklch(57.7% 0.203 27.1);
Tailwind
colors: {
custom: {
50: '#ed7768',
500: '#d7312e',
950: '#000000',
},
}SCSS
$custom: #d7312e; $custom-light: #ed7768; $custom-dark: #000000;
JSON
{
"hex": "#d7312e",
"rgb": {
"r": 215,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.065,
"s": 67.871,
"l": 51.176
},
"oklch": {
"l": 0.57654,
"c": 0.20261,
"h": 27.1
},
"luminance": 0.16841
}Semantic roles & 50–950 ramp
primary
#D7312E
secondary
#8BD4D6
accent
#E8EB3D
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A