#972822#972822
#972822 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.148 H 27.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #972822 |
|---|---|
| RGB | rgb(151, 40, 34) |
| HSL | hsl(3, 63%, 36%) |
| HSV | hsv(3, 77%, 59%) |
| CMYK | cmyk(0%, 73.5%, 77.5%, 40.8%) |
| CIE-LAB | lab(34.43, 45.52, 31.09) |
| CIE-LCH | lch(34.43, 55.12, 34.33°) |
| OKLab | oklab(45.22% 0.1309 0.069) |
| OKLCH | oklch(45.22% 0.148 27.8) |
| XYZ | xyz(13.8116, 8.2145, 2.3714) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.19
Carmine
#9D0216
ΔE00 3.56
Brownish Red
#9E3623
ΔE00 4.18
Brick
#A03623
ΔE00 4.38
Firebrick
#B22222
ΔE00 5.13
Crimson (survey)
#8C000F
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972822 #229197
analogous
#972257 #972822 #976322
triadic
#972822 #229728 #282297
tetradic
#972822 #579722 #229197 #632297
square
#972822 #579722 #229197 #632297
split-complementary
#972822 #229763 #225797
monochromatic
#330E0C #651B17 #972822 #C9352D #DA605A
Accessibility & contrast
On white
7.95
#972822 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#972822 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972822
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972822 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#A70028
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #972822; /* rgb */ color: rgb(151, 40, 34); /* oklch */ color: oklch(45.2% 0.148 27.8);
Tailwind
colors: {
custom: {
50: '#be6a5e',
500: '#972822',
950: '#000000',
},
}SCSS
$custom: #972822; $custom-light: #be6a5e; $custom-dark: #000000;
JSON
{
"hex": "#972822",
"rgb": {
"r": 151,
"g": 40,
"b": 34
},
"hsl": {
"h": 3.077,
"s": 63.243,
"l": 36.275
},
"oklch": {
"l": 0.45221,
"c": 0.14795,
"h": 27.8
},
"luminance": 0.08212
}Semantic roles & 50–950 ramp
primary
#972822
secondary
#57B9BE
accent
#DEE642
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79