#971F52#971F52
#971F52 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.159 H 0.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #971F52 |
|---|---|
| RGB | rgb(151, 31, 82) |
| HSL | hsl(335, 66%, 36%) |
| HSV | hsv(335, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 45.7%, 40.8%) |
| CIE-LAB | lab(34.34, 51.89, 0.38) |
| CIE-LCH | lch(34.34, 51.89, 0.42°) |
| OKLab | oklab(45.48% 0.1594 0.0016) |
| OKLCH | oklch(45.48% 0.159 0.6) |
| XYZ | xyz(14.7767, 8.1705, 8.7799) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.01
Mulberry
#920A4E
ΔE00 2.54
Violet Red
#A50055
ΔE00 2.80
Dark Fuchsia
#9D0759
ΔE00 2.99
Purple Red
#990147
ΔE00 3.05
Reddish Purple
#910951
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F52 #1F9764
analogous
#971F8E #971F52 #97281F
triadic
#971F52 #52971F #1F5297
tetradic
#971F52 #8E971F #1F9764 #281F97
square
#971F52 #8E971F #1F9764 #281F97
split-complementary
#971F52 #1F9728 #1F8E97
monochromatic
#310A1B #641536 #971F52 #CA296E #DC548E
Accessibility & contrast
On white
7.97
#971F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#971F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F52
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F52 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A40336
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #971f52; /* rgb */ color: rgb(151, 31, 82); /* oklch */ color: oklch(45.5% 0.159 0.6);
Tailwind
colors: {
custom: {
50: '#bb6882',
500: '#971f52',
950: '#000000',
},
}SCSS
$custom: #971f52; $custom-light: #bb6882; $custom-dark: #000000;
JSON
{
"hex": "#971f52",
"rgb": {
"r": 151,
"g": 31,
"b": 82
},
"hsl": {
"h": 334.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45482,
"c": 0.15941,
"h": 0.6
},
"luminance": 0.08168
}Semantic roles & 50–950 ramp
primary
#971F52
secondary
#52BF91
accent
#E9A13F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C