#972017#972017
#972017 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.3% C 0.156 H 29.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #972017 |
|---|---|
| RGB | rgb(151, 32, 23) |
| HSL | hsl(4, 74%, 34%) |
| HSV | hsv(4, 85%, 59%) |
| CMYK | cmyk(0%, 78.8%, 84.8%, 40.8%) |
| CIE-LAB | lab(33.30, 47.96, 36.17) |
| CIE-LCH | lch(33.30, 60.07, 37.02°) |
| OKLab | oklab(44.35% 0.1363 0.0764) |
| OKLCH | oklch(44.35% 0.156 29.3) |
| XYZ | xyz(13.4353, 7.6764, 1.5847) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.13
Blood Red
#980002
ΔE00 3.36
Deep Red
#9A0200
ΔE00 3.59
Brick Red
#8F1402
ΔE00 3.84
Darkish Red
#A90308
ΔE00 3.92
Red Brown
#8B2E16
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972017 #178E97
analogous
#97174E #972017 #976017
triadic
#972017 #179720 #201797
tetradic
#972017 #4E9717 #178E97 #601797
square
#972017 #4E9717 #178E97 #601797
split-complementary
#972017 #179760 #174E97
monochromatic
#2D0907 #62150F #972017 #CC2B1F #E35146
Accessibility & contrast
On white
8.28
#972017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#972017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972017
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972017 | 1.00 | 8.28 | 2.53 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#635810
Tritanopia (blue-blind)
#A7001F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #972017; /* rgb */ color: rgb(151, 32, 23); /* oklch */ color: oklch(44.3% 0.156 29.3);
Tailwind
colors: {
custom: {
50: '#bf6756',
500: '#972017',
950: '#000000',
},
}SCSS
$custom: #972017; $custom-light: #bf6756; $custom-dark: #000000;
JSON
{
"hex": "#972017",
"rgb": {
"r": 151,
"g": 32,
"b": 23
},
"hsl": {
"h": 4.219,
"s": 73.563,
"l": 34.118
},
"oklch": {
"l": 0.44346,
"c": 0.15622,
"h": 29.3
},
"luminance": 0.07674
}Semantic roles & 50–950 ramp
primary
#972017
secondary
#46BBC4
accent
#E3F038
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140603
muted
#827A78