#972838#972838
#972838 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.146 H 17.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #972838 |
|---|---|
| RGB | rgb(151, 40, 56) |
| HSL | hsl(351, 58%, 37%) |
| HSV | hsv(351, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 62.9%, 40.8%) |
| CIE-LAB | lab(34.77, 46.70, 17.83) |
| CIE-LCH | lch(34.77, 49.99, 20.90°) |
| OKLab | oklab(45.59% 0.1394 0.0432) |
| OKLCH | oklch(45.59% 0.146 17.2) |
| XYZ | xyz(14.2365, 8.3845, 4.6093) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.89
Cranberry
#9E003A
ΔE00 4.70
Red Wine
#8C0034
ΔE00 6.21
Brown
#A52A2A
ΔE00 6.80
Rose Red
#BE013C
ΔE00 7.02
Burgundy
#800020
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972838 #289787
analogous
#972870 #972838 #974F28
triadic
#972838 #389728 #283897
tetradic
#972838 #709728 #289787 #4F2897
square
#972838 #709728 #289787 #4F2897
split-complementary
#972838 #28974F #287097
monochromatic
#360E14 #671B26 #972838 #C7354A #D66474
Accessibility & contrast
On white
7.85
#972838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#972838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972838
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972838 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A6042F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #972838; /* rgb */ color: rgb(151, 40, 56); /* oklch */ color: oklch(45.6% 0.146 17.2);
Tailwind
colors: {
custom: {
50: '#bc6b6e',
500: '#972838',
950: '#000000',
},
}SCSS
$custom: #972838; $custom-light: #bc6b6e; $custom-dark: #000000;
JSON
{
"hex": "#972838",
"rgb": {
"r": 151,
"g": 40,
"b": 56
},
"hsl": {
"h": 351.351,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.45589,
"c": 0.14593,
"h": 17.2
},
"luminance": 0.08382
}Semantic roles & 50–950 ramp
primary
#972838
secondary
#5FBCAE
accent
#E1CB46
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A