#971F5F#971F5F
#971F5F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.165 H 353.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #971F5F |
|---|---|
| RGB | rgb(151, 31, 95) |
| HSL | hsl(328, 66%, 36%) |
| HSV | hsv(328, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 37.1%, 40.8%) |
| CIE-LAB | lab(34.78, 53.24, -7.36) |
| CIE-LCH | lch(34.78, 53.74, 352.12°) |
| OKLab | oklab(45.95% 0.1635 -0.0188) |
| OKLCH | oklch(45.95% 0.165 353.4) |
| XYZ | xyz(15.3190, 8.3874, 11.6365) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.30
Deep Magenta
#A0025C
ΔE00 2.33
Dark Magenta
#960056
ΔE00 2.72
Red Violet
#9E0168
ΔE00 3.20
Reddish Purple
#910951
ΔE00 3.36
Mulberry
#920A4E
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F5F #1F9757
analogous
#931F97 #971F5F #971F23
triadic
#971F5F #5F971F #1F5F97
tetradic
#971F5F #97931F #1F9757 #1F2397
square
#971F5F #97931F #1F9757 #1F2397
split-complementary
#971F5F #23971F #1F9793
monochromatic
#310A1F #64153F #971F5F #CA297F #DC549D
Accessibility & contrast
On white
7.84
#971F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#971F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F5F
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F5F | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#595A5C
Tritanopia (blue-blind)
#A3103C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #971f5f; /* rgb */ color: rgb(151, 31, 95); /* oklch */ color: oklch(45.9% 0.165 353.4);
Tailwind
colors: {
custom: {
50: '#ba688c',
500: '#971f5f',
950: '#000000',
},
}SCSS
$custom: #971f5f; $custom-light: #ba688c; $custom-dark: #000000;
JSON
{
"hex": "#971f5f",
"rgb": {
"r": 151,
"g": 31,
"b": 95
},
"hsl": {
"h": 328,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45949,
"c": 0.16461,
"h": 353.4
},
"luminance": 0.08386
}Semantic roles & 50–950 ramp
primary
#971F5F
secondary
#52BF85
accent
#E98E3F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D