#972147#972147
#972147 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 7.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #972147 |
|---|---|
| RGB | rgb(151, 33, 71) |
| HSL | hsl(341, 64%, 36%) |
| HSV | hsv(341, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 53%, 40.8%) |
| CIE-LAB | lab(34.24, 50.28, 7.40) |
| CIE-LCH | lch(34.24, 50.82, 8.37°) |
| OKLab | oklab(45.31% 0.1533 0.0191) |
| OKLCH | oklch(45.31% 0.155 7.1) |
| XYZ | xyz(14.4450, 8.1240, 6.7675) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.87
Purple Red
#990147
ΔE00 3.00
Cranberry
#9E003A
ΔE00 3.94
Purplish Red
#B0054B
ΔE00 4.52
Raspberry (survey)
#B00149
ΔE00 4.57
Red Wine
#8C0034
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972147 #219771
analogous
#972182 #972147 #973621
triadic
#972147 #479721 #214797
tetradic
#972147 #829721 #219771 #362197
square
#972147 #829721 #219771 #362197
split-complementary
#972147 #219736 #218297
monochromatic
#330B18 #65162F #972147 #C92C5F #DA5882
Accessibility & contrast
On white
8.00
#972147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#972147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972147
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972147 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 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: #972147; /* rgb */ color: rgb(151, 33, 71); /* oklch */ color: oklch(45.3% 0.155 7.1);
Tailwind
colors: {
custom: {
50: '#bb6879',
500: '#972147',
950: '#000000',
},
}SCSS
$custom: #972147; $custom-light: #bb6879; $custom-dark: #000000;
JSON
{
"hex": "#972147",
"rgb": {
"r": 151,
"g": 33,
"b": 71
},
"hsl": {
"h": 340.678,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.45308,
"c": 0.15451,
"h": 7.1
},
"luminance": 0.08122
}Semantic roles & 50–950 ramp
primary
#972147
secondary
#55BE9D
accent
#E7B241
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B