#972827#972827
#972827 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.147 H 25.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #972827 |
|---|---|
| RGB | rgb(151, 40, 39) |
| HSL | hsl(1, 59%, 37%) |
| HSV | hsv(1, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 74.2%, 40.8%) |
| CIE-LAB | lab(34.49, 45.73, 28.16) |
| CIE-LCH | lch(34.49, 53.71, 31.62°) |
| OKLab | oklab(45.29% 0.1327 0.0639) |
| OKLCH | oklch(45.29% 0.147 25.7) |
| XYZ | xyz(13.8891, 8.2455, 2.7793) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.85
Carmine
#9D0216
ΔE00 3.97
Brownish Red
#9E3623
ΔE00 5.38
Firebrick
#B22222
ΔE00 5.55
Brick
#A03623
ΔE00 5.55
Crimson (survey)
#8C000F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972827 #279697
analogous
#97275E #972827 #976027
triadic
#972827 #279728 #282797
tetradic
#972827 #5E9727 #279697 #602797
square
#972827 #5E9727 #279697 #602797
split-complementary
#972827 #279760 #275E97
monochromatic
#360E0E #661B1A #972827 #C83534 #D66362
Accessibility & contrast
On white
7.93
#972827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#972827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972827
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972827 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484226
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#A60029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #972827; /* rgb */ color: rgb(151, 40, 39); /* oklch */ color: oklch(45.3% 0.147 25.7);
Tailwind
colors: {
custom: {
50: '#bd6a61',
500: '#972827',
950: '#000000',
},
}SCSS
$custom: #972827; $custom-light: #bd6a61; $custom-dark: #000000;
JSON
{
"hex": "#972827",
"rgb": {
"r": 151,
"g": 40,
"b": 39
},
"hsl": {
"h": 0.536,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.45288,
"c": 0.14723,
"h": 25.7
},
"luminance": 0.08243
}Semantic roles & 50–950 ramp
primary
#972827
secondary
#5EBBBC
accent
#E1E246
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#130705
muted
#827A79