#971B52#971B52
#971B52 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 0.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #971B52 |
|---|---|
| RGB | rgb(151, 27, 82) |
| HSL | hsl(333, 70%, 35%) |
| HSV | hsv(333, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 45.7%, 40.8%) |
| CIE-LAB | lab(33.93, 53.04, -0.21) |
| CIE-LCH | lch(33.93, 53.04, 359.77°) |
| OKLab | oklab(45.18% 0.1631 0) |
| OKLCH | oklch(45.18% 0.163 0) |
| XYZ | xyz(14.6786, 7.9744, 8.7473) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.96
Mulberry
#920A4E
ΔE00 2.05
Dark Fuchsia
#9D0759
ΔE00 2.54
Violet Red
#A50055
ΔE00 2.60
Reddish Purple
#910951
ΔE00 2.62
Purple Red
#990147
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B52 #1B9760
analogous
#971B90 #971B52 #97221B
triadic
#971B52 #52971B #1B5297
tetradic
#971B52 #90971B #1B9760 #221B97
square
#971B52 #90971B #1B9760 #221B97
split-complementary
#971B52 #1B9722 #1B9097
monochromatic
#2F081A #631236 #971B52 #CB246E #DF4D8E
Accessibility & contrast
On white
8.09
#971B52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#971B52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B52
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B52 | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#5B584F
Tritanopia (blue-blind)
#A40034
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971b52; /* rgb */ color: rgb(151, 27, 82); /* oklch */ color: oklch(45.2% 0.163 0.0);
Tailwind
colors: {
custom: {
50: '#bb6682',
500: '#971b52',
950: '#000000',
},
}SCSS
$custom: #971b52; $custom-light: #bb6682; $custom-dark: #000000;
JSON
{
"hex": "#971b52",
"rgb": {
"r": 151,
"g": 27,
"b": 82
},
"hsl": {
"h": 333.387,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.45185,
"c": 0.16311,
"h": 0
},
"luminance": 0.07972
}Semantic roles & 50–950 ramp
primary
#971B52
secondary
#4CC18E
accent
#EC9E3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C