#971F5B#971F5B
#971F5B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.163 H 355.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #971F5B |
|---|---|
| RGB | rgb(151, 31, 91) |
| HSL | hsl(330, 66%, 36%) |
| HSV | hsv(330, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 39.7%, 40.8%) |
| CIE-LAB | lab(34.63, 52.80, -5.00) |
| CIE-LCH | lch(34.63, 53.04, 354.59°) |
| OKLab | oklab(45.8% 0.1624 -0.0125) |
| OKLCH | oklch(45.8% 0.163 355.6) |
| XYZ | xyz(15.1419, 8.3165, 10.7034) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 1.87
Deep Magenta
#A0025C
ΔE00 2.20
Dark Magenta
#960056
ΔE00 2.50
Reddish Purple
#910951
ΔE00 2.81
Mulberry
#920A4E
ΔE00 3.15
Violet Red
#A50055
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F5B #1F975B
analogous
#971F97 #971F5B #971F1F
triadic
#971F5B #5B971F #1F5B97
tetradic
#971F5B #97971F #1F975B #1F1F97
square
#971F5B #97971F #1F975B #1F1F97
split-complementary
#971F5B #1F971F #1F9797
monochromatic
#310A1E #64153C #971F5B #CA297A #DC5498
Accessibility & contrast
On white
7.89
#971F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#971F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F5B
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F5B | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#5A5958
Tritanopia (blue-blind)
#A40D3A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #971f5b; /* rgb */ color: rgb(151, 31, 91); /* oklch */ color: oklch(45.8% 0.163 355.6);
Tailwind
colors: {
custom: {
50: '#ba6889',
500: '#971f5b',
950: '#000000',
},
}SCSS
$custom: #971f5b; $custom-light: #ba6889; $custom-dark: #000000;
JSON
{
"hex": "#971f5b",
"rgb": {
"r": 151,
"g": 31,
"b": 91
},
"hsl": {
"h": 330,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45798,
"c": 0.16283,
"h": 355.6
},
"luminance": 0.08315
}Semantic roles & 50–950 ramp
primary
#971F5B
secondary
#52BF89
accent
#E9943F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C