#971E7D#971E7D
#971E7D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.183 H 338.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #971E7D |
|---|---|
| RGB | rgb(151, 30, 125) |
| HSL | hsl(313, 67%, 35%) |
| HSV | hsv(313, 80%, 59%) |
| CMYK | cmyk(0%, 80.1%, 17.2%, 40.8%) |
| CIE-LAB | lab(35.97, 57.33, -24.55) |
| CIE-LCH | lch(35.97, 62.37, 336.82°) |
| OKLab | oklab(47.23% 0.1704 -0.0666) |
| OKLCH | oklch(47.23% 0.183 338.6) |
| XYZ | xyz(16.9289, 8.9902, 20.2418) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.07
Barney Purple
#A00498
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.23
Darkmagenta
#8B008B
ΔE00 5.83
Purple
#800080
ΔE00 6.77
Darkish Purple
#751973
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971E7D #1E9738
analogous
#751E97 #971E7D #971E40
triadic
#971E7D #7D971E #1E7D97
tetradic
#971E7D #97751E #1E9738 #1E4097
square
#971E7D #97751E #1E9738 #1E4097
split-complementary
#971E7D #40971E #1E9775
monochromatic
#310A28 #641453 #971E7D #CA28A7 #DD53BF
Accessibility & contrast
On white
7.51
#971E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#971E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971E7D
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971E7D | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#A0254C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971e7d; /* rgb */ color: rgb(151, 30, 125); /* oklch */ color: oklch(47.2% 0.183 338.6);
Tailwind
colors: {
custom: {
50: '#b969a3',
500: '#971e7d',
950: '#000000',
},
}SCSS
$custom: #971e7d; $custom-light: #b969a3; $custom-dark: #000000;
JSON
{
"hex": "#971e7d",
"rgb": {
"r": 151,
"g": 30,
"b": 125
},
"hsl": {
"h": 312.893,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.47231,
"c": 0.18292,
"h": 338.6
},
"luminance": 0.08989
}Semantic roles & 50–950 ramp
primary
#971E7D
secondary
#51C069
accent
#EA633E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F