#972047#972047
#972047 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.155 H 6.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #972047 |
|---|---|
| RGB | rgb(151, 32, 71) |
| HSL | hsl(340, 65%, 36%) |
| HSV | hsv(340, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 53%, 40.8%) |
| CIE-LAB | lab(34.13, 50.59, 7.24) |
| CIE-LCH | lch(34.13, 51.11, 8.14°) |
| OKLab | oklab(45.23% 0.1543 0.0187) |
| OKLCH | oklch(45.23% 0.155 6.9) |
| XYZ | xyz(14.4177, 8.0693, 6.7584) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.71
Purple Red
#990147
ΔE00 2.84
Cranberry
#9E003A
ΔE00 3.95
Purplish Red
#B0054B
ΔE00 4.52
Raspberry (survey)
#B00149
ΔE00 4.58
Red Wine
#8C0034
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972047 #209770
analogous
#972082 #972047 #973420
triadic
#972047 #479720 #204797
tetradic
#972047 #829720 #209770 #342097
square
#972047 #829720 #209770 #342097
split-complementary
#972047 #209734 #208297
monochromatic
#320B18 #64152F #972047 #C92B5F #DB5682
Accessibility & contrast
On white
8.04
#972047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#972047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972047
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972047 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #972047; /* rgb */ color: rgb(151, 32, 71); /* oklch */ color: oklch(45.2% 0.155 6.9);
Tailwind
colors: {
custom: {
50: '#bb6879',
500: '#972047',
950: '#000000',
},
}SCSS
$custom: #972047; $custom-light: #bb6879; $custom-dark: #000000;
JSON
{
"hex": "#972047",
"rgb": {
"r": 151,
"g": 32,
"b": 71
},
"hsl": {
"h": 340.336,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.45225,
"c": 0.15547,
"h": 6.9
},
"luminance": 0.08067
}Semantic roles & 50–950 ramp
primary
#972047
secondary
#54BF9C
accent
#E8B140
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B