#971C52#971C52
#971C52 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.162 H 0.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #971C52 |
|---|---|
| RGB | rgb(151, 28, 82) |
| HSL | hsl(334, 69%, 35%) |
| HSV | hsv(334, 81%, 59%) |
| CMYK | cmyk(0%, 81.5%, 45.7%, 40.8%) |
| CIE-LAB | lab(34.03, 52.77, -0.07) |
| CIE-LCH | lch(34.03, 52.77, 359.92°) |
| OKLab | oklab(45.26% 0.1622 0.0004) |
| OKLCH | oklch(45.26% 0.162 0.1) |
| XYZ | xyz(14.7019, 8.0210, 8.7550) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.95
Mulberry
#920A4E
ΔE00 2.17
Violet Red
#A50055
ΔE00 2.64
Dark Fuchsia
#9D0759
ΔE00 2.64
Reddish Purple
#910951
ΔE00 2.74
Purple Red
#990147
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971C52 #1C9761
analogous
#971C8F #971C52 #97241C
triadic
#971C52 #52971C #1C5297
tetradic
#971C52 #8F971C #1C9761 #241C97
square
#971C52 #8F971C #1C9761 #241C97
split-complementary
#971C52 #1C9724 #1C8F97
monochromatic
#30091A #631236 #971C52 #CB266E #DE4F8E
Accessibility & contrast
On white
8.07
#971C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#971C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971C52
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971C52 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5B584F
Tritanopia (blue-blind)
#A40035
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #971c52; /* rgb */ color: rgb(151, 28, 82); /* oklch */ color: oklch(45.3% 0.162 0.1);
Tailwind
colors: {
custom: {
50: '#bb6782',
500: '#971c52',
950: '#000000',
},
}SCSS
$custom: #971c52; $custom-light: #bb6782; $custom-dark: #000000;
JSON
{
"hex": "#971c52",
"rgb": {
"r": 151,
"g": 28,
"b": 82
},
"hsl": {
"h": 333.659,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.45256,
"c": 0.16222,
"h": 0.1
},
"luminance": 0.08019
}Semantic roles & 50–950 ramp
primary
#971C52
secondary
#4EC18E
accent
#EC9F3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C