#971E5F#971E5F
#971E5F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.166 H 353.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #971E5F |
|---|---|
| RGB | rgb(151, 30, 95) |
| HSL | hsl(328, 67%, 35%) |
| HSV | hsv(328, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 37.1%, 40.8%) |
| CIE-LAB | lab(34.67, 53.53, -7.52) |
| CIE-LCH | lch(34.67, 54.06, 352.00°) |
| OKLab | oklab(45.87% 0.1645 -0.0192) |
| OKLCH | oklch(45.87% 0.166 353.3) |
| XYZ | xyz(15.2933, 8.3360, 11.6279) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.26
Deep Magenta
#A0025C
ΔE00 2.28
Dark Magenta
#960056
ΔE00 2.64
Red Violet
#9E0168
ΔE00 3.09
Reddish Purple
#910951
ΔE00 3.31
Mulberry
#920A4E
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E5F #1E9756
analogous
#931E97 #971E5F #971E22
triadic
#971E5F #5F971E #1E5F97
tetradic
#971E5F #97931E #1E9756 #1E2297
square
#971E5F #97931E #1E9756 #1E2297
split-complementary
#971E5F #22971E #1E9793
monochromatic
#310A1F #64143F #971E5F #CA287F #DD539D
Accessibility & contrast
On white
7.87
#971E5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#971E5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E5F
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E5F | 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)
#364461
Deuteranopia (green-blind)
#59595C
Tritanopia (blue-blind)
#A30F3C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #971e5f; /* rgb */ color: rgb(151, 30, 95); /* oklch */ color: oklch(45.9% 0.166 353.3);
Tailwind
colors: {
custom: {
50: '#ba688c',
500: '#971e5f',
950: '#000000',
},
}SCSS
$custom: #971e5f; $custom-light: #ba688c; $custom-dark: #000000;
JSON
{
"hex": "#971e5f",
"rgb": {
"r": 151,
"g": 30,
"b": 95
},
"hsl": {
"h": 327.769,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.45874,
"c": 0.16559,
"h": 353.3
},
"luminance": 0.08334
}Semantic roles & 50–950 ramp
primary
#971E5F
secondary
#51C084
accent
#EA8E3E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D