#971F27#971F27
#971F27 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.5% C 0.155 H 23.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #971F27 |
|---|---|
| RGB | rgb(151, 31, 39) |
| HSL | hsl(356, 66%, 36%) |
| HSV | hsv(356, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 74.2%, 40.8%) |
| CIE-LAB | lab(33.37, 48.86, 26.87) |
| CIE-LCH | lch(33.37, 55.76, 28.81°) |
| OKLab | oklab(44.45% 0.1426 0.061) |
| OKLCH | oklch(44.45% 0.155 23.2) |
| XYZ | xyz(13.6203, 7.7079, 2.6897) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.88
Carmine
#9D0216
ΔE00 3.99
Crimson (survey)
#8C000F
ΔE00 5.45
Rouge
#AB1239
ΔE00 6.35
Burgundy
#800020
ΔE00 6.53
Firebrick
#B22222
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F27 #1F978F
analogous
#971F63 #971F27 #97531F
triadic
#971F27 #27971F #1F2797
tetradic
#971F27 #63971F #1F978F #531F97
square
#971F27 #63971F #1F978F #531F97
split-complementary
#971F27 #1F9753 #1F6397
monochromatic
#310A0D #64151A #971F27 #CA2934 #DC545D
Accessibility & contrast
On white
8.26
#971F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#971F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F27
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F27 | 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)
#443E26
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#A60023
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #971f27; /* rgb */ color: rgb(151, 31, 39); /* oklch */ color: oklch(44.5% 0.155 23.2);
Tailwind
colors: {
custom: {
50: '#be6761',
500: '#971f27',
950: '#000000',
},
}SCSS
$custom: #971f27; $custom-light: #be6761; $custom-dark: #000000;
JSON
{
"hex": "#971f27",
"rgb": {
"r": 151,
"g": 31,
"b": 39
},
"hsl": {
"h": 356,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.44453,
"c": 0.15508,
"h": 23.2
},
"luminance": 0.07706
}Semantic roles & 50–950 ramp
primary
#971F27
secondary
#52BFB8
accent
#E9DE3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140605
muted
#827A79