#972847#972847
#972847 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.147 H 8.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #972847 |
|---|---|
| RGB | rgb(151, 40, 71) |
| HSL | hsl(343, 58%, 37%) |
| HSV | hsv(343, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 53%, 40.8%) |
| CIE-LAB | lab(35.11, 47.84, 8.62) |
| CIE-LCH | lch(35.11, 48.61, 10.21°) |
| OKLab | oklab(45.95% 0.1455 0.0221) |
| OKLCH | oklch(45.95% 0.147 8.6) |
| XYZ | xyz(14.6599, 8.5538, 6.8391) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 4.10
Berry
#990F4B
ΔE00 4.13
Purple Red
#990147
ΔE00 4.30
Purplish Red
#B0054B
ΔE00 4.71
Raspberry (survey)
#B00149
ΔE00 4.73
Red Wine
#8C0034
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972847 #289778
analogous
#97287F #972847 #974028
triadic
#972847 #479728 #284797
tetradic
#972847 #7F9728 #289778 #402897
square
#972847 #7F9728 #289778 #402897
split-complementary
#972847 #289740 #287F97
monochromatic
#360E1A #671B30 #972847 #C7355E #D66483
Accessibility & contrast
On white
7.75
#972847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#972847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972847
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972847 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A50F35
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #972847; /* rgb */ color: rgb(151, 40, 71); /* oklch */ color: oklch(46.0% 0.147 8.6);
Tailwind
colors: {
custom: {
50: '#bb6b7a',
500: '#972847',
950: '#000000',
},
}SCSS
$custom: #972847; $custom-light: #bb6b7a; $custom-dark: #000000;
JSON
{
"hex": "#972847",
"rgb": {
"r": 151,
"g": 40,
"b": 71
},
"hsl": {
"h": 343.243,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.45951,
"c": 0.14715,
"h": 8.6
},
"luminance": 0.08552
}Semantic roles & 50–950 ramp
primary
#972847
secondary
#5FBCA2
accent
#E1B646
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B