#971F5D#971F5D
#971F5D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 354.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #971F5D |
|---|---|
| RGB | rgb(151, 31, 93) |
| HSL | hsl(329, 66%, 36%) |
| HSV | hsv(329, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 38.4%, 40.8%) |
| CIE-LAB | lab(34.70, 53.02, -6.19) |
| CIE-LCH | lch(34.70, 53.38, 353.34°) |
| OKLab | oklab(45.87% 0.163 -0.0157) |
| OKLCH | oklch(45.87% 0.164 354.5) |
| XYZ | xyz(15.2293, 8.3515, 11.1638) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.03
Deep Magenta
#A0025C
ΔE00 2.20
Dark Magenta
#960056
ΔE00 2.55
Reddish Purple
#910951
ΔE00 3.05
Mulberry
#920A4E
ΔE00 3.53
Red Violet
#9E0168
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F5D #1F9759
analogous
#951F97 #971F5D #971F21
triadic
#971F5D #5D971F #1F5D97
tetradic
#971F5D #97951F #1F9759 #1F2197
square
#971F5D #97951F #1F9759 #1F2197
split-complementary
#971F5D #21971F #1F9795
monochromatic
#310A1E #64153E #971F5D #CA297C #DC549A
Accessibility & contrast
On white
7.87
#971F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#971F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F5D
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F5D | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#595A5A
Tritanopia (blue-blind)
#A30F3B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #971f5d; /* rgb */ color: rgb(151, 31, 93); /* oklch */ color: oklch(45.9% 0.164 354.5);
Tailwind
colors: {
custom: {
50: '#ba688a',
500: '#971f5d',
950: '#000000',
},
}SCSS
$custom: #971f5d; $custom-light: #ba688a; $custom-dark: #000000;
JSON
{
"hex": "#971f5d",
"rgb": {
"r": 151,
"g": 31,
"b": 93
},
"hsl": {
"h": 329,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45873,
"c": 0.1637,
"h": 354.5
},
"luminance": 0.0835
}Semantic roles & 50–950 ramp
primary
#971F5D
secondary
#52BF87
accent
#E9913F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C