#972842#972842
#972842 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.146 H 11.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #972842 |
|---|---|
| RGB | rgb(151, 40, 66) |
| HSL | hsl(346, 58%, 37%) |
| HSV | hsv(346, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 56.3%, 40.8%) |
| CIE-LAB | lab(34.99, 47.43, 11.68) |
| CIE-LCH | lch(34.99, 48.84, 13.84°) |
| OKLab | oklab(45.82% 0.1435 0.0294) |
| OKLCH | oklch(45.82% 0.146 11.6) |
| XYZ | xyz(14.5060, 8.4923, 6.0285) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.50
Rouge
#AB1239
ΔE00 4.94
Raspberry (survey)
#B00149
ΔE00 5.07
Red Wine
#8C0034
ΔE00 5.07
Purplish Red
#B0054B
ΔE00 5.20
Purple Red
#990147
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972842 #28977D
analogous
#972879 #972842 #974628
triadic
#972842 #429728 #284297
tetradic
#972842 #799728 #28977D #462897
square
#972842 #799728 #28977D #462897
split-complementary
#972842 #289746 #287997
monochromatic
#360E18 #671B2D #972842 #C73557 #D6647E
Accessibility & contrast
On white
7.78
#972842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#972842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972842
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972842 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#A50C33
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #972842; /* rgb */ color: rgb(151, 40, 66); /* oklch */ color: oklch(45.8% 0.146 11.6);
Tailwind
colors: {
custom: {
50: '#bb6b76',
500: '#972842',
950: '#000000',
},
}SCSS
$custom: #972842; $custom-light: #bb6b76; $custom-dark: #000000;
JSON
{
"hex": "#972842",
"rgb": {
"r": 151,
"g": 40,
"b": 66
},
"hsl": {
"h": 345.946,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.4582,
"c": 0.14645,
"h": 11.6
},
"luminance": 0.0849
}Semantic roles & 50–950 ramp
primary
#972842
secondary
#5FBCA6
accent
#E1BD46
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B