#972840#972840
#972840 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.146 H 12.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #972840 |
|---|---|
| RGB | rgb(151, 40, 64) |
| HSL | hsl(347, 58%, 37%) |
| HSV | hsv(347, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 57.6%, 40.8%) |
| CIE-LAB | lab(34.94, 47.27, 12.91) |
| CIE-LCH | lch(34.94, 49.00, 15.28°) |
| OKLab | oklab(45.77% 0.1427 0.0322) |
| OKLCH | oklch(45.77% 0.146 12.7) |
| XYZ | xyz(14.4481, 8.4691, 5.7234) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.48
Rouge
#AB1239
ΔE00 4.53
Red Wine
#8C0034
ΔE00 5.12
Raspberry (survey)
#B00149
ΔE00 5.36
Purplish Red
#B0054B
ΔE00 5.55
Purple Red
#990147
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972840 #28977F
analogous
#972878 #972840 #974828
triadic
#972840 #409728 #284097
tetradic
#972840 #789728 #28977F #482897
square
#972840 #789728 #28977F #482897
split-complementary
#972840 #289748 #287897
monochromatic
#360E17 #671B2B #972840 #C73555 #D6647C
Accessibility & contrast
On white
7.80
#972840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#972840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972840
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972840 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#A50A32
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #972840; /* rgb */ color: rgb(151, 40, 64); /* oklch */ color: oklch(45.8% 0.146 12.7);
Tailwind
colors: {
custom: {
50: '#bc6b74',
500: '#972840',
950: '#000000',
},
}SCSS
$custom: #972840; $custom-light: #bc6b74; $custom-dark: #000000;
JSON
{
"hex": "#972840",
"rgb": {
"r": 151,
"g": 40,
"b": 64
},
"hsl": {
"h": 347.027,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.45771,
"c": 0.14626,
"h": 12.7
},
"luminance": 0.08467
}Semantic roles & 50–950 ramp
primary
#972840
secondary
#5FBCA8
accent
#E1C046
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B