#971F26#971F26
#971F26 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.4% C 0.155 H 23.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #971F26 |
|---|---|
| RGB | rgb(151, 31, 38) |
| HSL | hsl(357, 66%, 36%) |
| HSV | hsv(357, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 74.8%, 40.8%) |
| CIE-LAB | lab(33.35, 48.82, 27.47) |
| CIE-LCH | lch(33.35, 56.01, 29.37°) |
| OKLab | oklab(44.44% 0.1422 0.0621) |
| OKLCH | oklch(44.44% 0.155 23.6) |
| XYZ | xyz(13.6039, 7.7014, 2.6036) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.72
Brown
#A52A2A
ΔE00 3.75
Crimson (survey)
#8C000F
ΔE00 5.22
Firebrick
#B22222
ΔE00 6.36
Rouge
#AB1239
ΔE00 6.64
Burgundy
#800020
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F26 #1F9790
analogous
#971F62 #971F26 #97541F
triadic
#971F26 #26971F #1F2697
tetradic
#971F26 #62971F #1F9790 #541F97
square
#971F26 #62971F #1F9790 #541F97
split-complementary
#971F26 #1F9754 #1F6297
monochromatic
#310A0C #641519 #971F26 #CA2933 #DC545C
Accessibility & contrast
On white
8.27
#971F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#971F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F26
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F26 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E25
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#A70023
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #971f26; /* rgb */ color: rgb(151, 31, 38); /* oklch */ color: oklch(44.4% 0.155 23.6);
Tailwind
colors: {
custom: {
50: '#be6660',
500: '#971f26',
950: '#000000',
},
}SCSS
$custom: #971f26; $custom-light: #be6660; $custom-dark: #000000;
JSON
{
"hex": "#971f26",
"rgb": {
"r": 151,
"g": 31,
"b": 38
},
"hsl": {
"h": 356.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.44438,
"c": 0.15517,
"h": 23.6
},
"luminance": 0.07699
}Semantic roles & 50–950 ramp
primary
#971F26
secondary
#52BFB9
accent
#E9DF3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140605
muted
#827A79