#971F28#971F28
#971F28 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.5% C 0.155 H 22.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #971F28 |
|---|---|
| RGB | rgb(151, 31, 40) |
| HSL | hsl(356, 66%, 36%) |
| HSV | hsv(356, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 73.5%, 40.8%) |
| CIE-LAB | lab(33.38, 48.91, 26.26) |
| CIE-LCH | lch(33.38, 55.51, 28.23°) |
| OKLab | oklab(44.47% 0.1429 0.0599) |
| OKLCH | oklch(44.47% 0.155 22.7) |
| XYZ | xyz(13.6371, 7.7146, 2.7781) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.03
Carmine
#9D0216
ΔE00 4.27
Crimson (survey)
#8C000F
ΔE00 5.69
Rouge
#AB1239
ΔE00 6.07
Burgundy
#800020
ΔE00 6.40
Firebrick
#B22222
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F28 #1F978E
analogous
#971F64 #971F28 #97521F
triadic
#971F28 #28971F #1F2897
tetradic
#971F28 #64971F #1F978E #521F97
square
#971F28 #64971F #1F978E #521F97
split-complementary
#971F28 #1F9752 #1F6497
monochromatic
#310A0D #64151B #971F28 #CA2935 #DC545F
Accessibility & contrast
On white
8.26
#971F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#971F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F28
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F28 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#615824
Tritanopia (blue-blind)
#A60024
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #971f28; /* rgb */ color: rgb(151, 31, 40); /* oklch */ color: oklch(44.5% 0.155 22.7);
Tailwind
colors: {
custom: {
50: '#be6762',
500: '#971f28',
950: '#000000',
},
}SCSS
$custom: #971f28; $custom-light: #be6762; $custom-dark: #000000;
JSON
{
"hex": "#971f28",
"rgb": {
"r": 151,
"g": 31,
"b": 40
},
"hsl": {
"h": 355.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.44468,
"c": 0.15499,
"h": 22.7
},
"luminance": 0.07712
}Semantic roles & 50–950 ramp
primary
#971F28
secondary
#52BFB7
accent
#E9DC3F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140605
muted
#827A79