#971F31#971F31
#971F31 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.154 H 18.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #971F31 |
|---|---|
| RGB | rgb(151, 31, 49) |
| HSL | hsl(351, 66%, 36%) |
| HSV | hsv(351, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 67.5%, 40.8%) |
| CIE-LAB | lab(33.53, 49.37, 20.73) |
| CIE-LCH | lch(33.53, 53.54, 22.77°) |
| OKLab | oklab(44.62% 0.1465 0.0491) |
| OKLCH | oklch(44.62% 0.154 18.5) |
| XYZ | xyz(13.8084, 7.7831, 3.6804) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.03
Cranberry
#9E003A
ΔE00 4.96
Burgundy
#800020
ΔE00 5.93
Brown
#A52A2A
ΔE00 6.17
Red Wine
#8C0034
ΔE00 6.19
Wine Red
#7B0323
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F31 #1F9785
analogous
#971F6D #971F31 #97491F
triadic
#971F31 #31971F #1F3197
tetradic
#971F31 #6D971F #1F9785 #491F97
square
#971F31 #6D971F #1F9785 #491F97
split-complementary
#971F31 #1F9749 #1F6D97
monochromatic
#310A10 #641521 #971F31 #CA2941 #DC5469
Accessibility & contrast
On white
8.22
#971F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#971F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F31
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F31 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423F31
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#A60027
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #971f31; /* rgb */ color: rgb(151, 31, 49); /* oklch */ color: oklch(44.6% 0.154 18.5);
Tailwind
colors: {
custom: {
50: '#bd6768',
500: '#971f31',
950: '#000000',
},
}SCSS
$custom: #971f31; $custom-light: #bd6768; $custom-dark: #000000;
JSON
{
"hex": "#971f31",
"rgb": {
"r": 151,
"g": 31,
"b": 49
},
"hsl": {
"h": 351,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.44623,
"c": 0.15449,
"h": 18.5
},
"luminance": 0.07781
}Semantic roles & 50–950 ramp
primary
#971F31
secondary
#52BFAF
accent
#E9CF3F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A