#972830#972830
#972830 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.146 H 21.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #972830 |
|---|---|
| RGB | rgb(151, 40, 48) |
| HSL | hsl(356, 58%, 37%) |
| HSV | hsv(356, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 68.2%, 40.8%) |
| CIE-LAB | lab(34.63, 46.20, 22.74) |
| CIE-LCH | lch(34.63, 51.49, 26.21°) |
| OKLab | oklab(45.43% 0.1361 0.0535) |
| OKLCH | oklch(45.43% 0.146 21.5) |
| XYZ | xyz(14.0563, 8.3124, 3.6600) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.37
Rouge
#AB1239
ΔE00 5.15
Carmine
#9D0216
ΔE00 6.09
Burgundy
#800020
ΔE00 6.98
Cranberry
#9E003A
ΔE00 7.01
Firebrick
#B22222
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972830 #28978F
analogous
#972867 #972830 #975828
triadic
#972830 #309728 #283097
tetradic
#972830 #679728 #28978F #582897
square
#972830 #679728 #28978F #582897
split-complementary
#972830 #289758 #286797
monochromatic
#360E11 #671B21 #972830 #C7353F #D6646C
Accessibility & contrast
On white
7.89
#972830 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#972830 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972830
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972830 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47422F
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #972830; /* rgb */ color: rgb(151, 40, 48); /* oklch */ color: oklch(45.4% 0.146 21.5);
Tailwind
colors: {
custom: {
50: '#bd6b68',
500: '#972830',
950: '#000000',
},
}SCSS
$custom: #972830; $custom-light: #bd6b68; $custom-dark: #000000;
JSON
{
"hex": "#972830",
"rgb": {
"r": 151,
"g": 40,
"b": 48
},
"hsl": {
"h": 355.676,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.45433,
"c": 0.14626,
"h": 21.5
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#972830
secondary
#5FBCB5
accent
#E1D646
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A