#972831#972831
#972831 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.146 H 20.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #972831 |
|---|---|
| RGB | rgb(151, 40, 49) |
| HSL | hsl(355, 58%, 37%) |
| HSV | hsv(355, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 67.5%, 40.8%) |
| CIE-LAB | lab(34.64, 46.26, 22.13) |
| CIE-LCH | lch(34.64, 51.28, 25.56°) |
| OKLab | oklab(45.45% 0.1365 0.0523) |
| OKLCH | oklch(45.45% 0.146 20.9) |
| XYZ | xyz(14.0772, 8.3207, 3.7699) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.65
Rouge
#AB1239
ΔE00 4.92
Carmine
#9D0216
ΔE00 6.39
Cranberry
#9E003A
ΔE00 6.69
Burgundy
#800020
ΔE00 6.94
Lipstick Red
#C0022F
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972831 #28978E
analogous
#972869 #972831 #975628
triadic
#972831 #319728 #283197
tetradic
#972831 #699728 #28978E #562897
square
#972831 #699728 #28978E #562897
split-complementary
#972831 #289756 #286997
monochromatic
#360E12 #671B21 #972831 #C73541 #D6646D
Accessibility & contrast
On white
7.88
#972831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#972831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972831
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972831 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474230
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #972831; /* rgb */ color: rgb(151, 40, 49); /* oklch */ color: oklch(45.5% 0.146 20.9);
Tailwind
colors: {
custom: {
50: '#bd6b69',
500: '#972831',
950: '#000000',
},
}SCSS
$custom: #972831; $custom-light: #bd6b69; $custom-dark: #000000;
JSON
{
"hex": "#972831",
"rgb": {
"r": 151,
"g": 40,
"b": 49
},
"hsl": {
"h": 355.135,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.45452,
"c": 0.14619,
"h": 20.9
},
"luminance": 0.08319
}Semantic roles & 50–950 ramp
primary
#972831
secondary
#5FBCB4
accent
#E1D546
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A