#972731#972731
#972731 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.147 H 20.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #972731 |
|---|---|
| RGB | rgb(151, 39, 49) |
| HSL | hsl(355, 59%, 37%) |
| HSV | hsv(355, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 67.5%, 40.8%) |
| CIE-LAB | lab(34.51, 46.63, 21.96) |
| CIE-LCH | lch(34.51, 51.54, 25.21°) |
| OKLab | oklab(45.35% 0.1377 0.0519) |
| OKLCH | oklch(45.35% 0.147 20.6) |
| XYZ | xyz(14.0439, 8.2542, 3.7589) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.78
Brown
#A52A2A
ΔE00 4.82
Carmine
#9D0216
ΔE00 6.45
Cranberry
#9E003A
ΔE00 6.48
Burgundy
#800020
ΔE00 6.79
Rose Red
#BE013C
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972731 #27978D
analogous
#972769 #972731 #975527
triadic
#972731 #319727 #273197
tetradic
#972731 #699727 #27978D #552797
square
#972731 #699727 #27978D #552797
split-complementary
#972731 #279755 #276997
monochromatic
#360E11 #661A21 #972731 #C83441 #D6626C
Accessibility & contrast
On white
7.92
#972731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#972731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972731
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972731 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474231
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #972731; /* rgb */ color: rgb(151, 39, 49); /* oklch */ color: oklch(45.4% 0.147 20.6);
Tailwind
colors: {
custom: {
50: '#bd6a69',
500: '#972731',
950: '#000000',
},
}SCSS
$custom: #972731; $custom-light: #bd6a69; $custom-dark: #000000;
JSON
{
"hex": "#972731",
"rgb": {
"r": 151,
"g": 39,
"b": 49
},
"hsl": {
"h": 354.643,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.45351,
"c": 0.14717,
"h": 20.6
},
"luminance": 0.08252
}Semantic roles & 50–950 ramp
primary
#972731
secondary
#5EBCB4
accent
#E2D446
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A