#971C81#971C81
#971C81 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.187 H 336.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #971C81 |
|---|---|
| RGB | rgb(151, 28, 129) |
| HSL | hsl(311, 69%, 35%) |
| HSV | hsv(311, 81%, 59%) |
| CMYK | cmyk(0%, 81.5%, 14.6%, 40.8%) |
| CIE-LAB | lab(35.98, 58.45, -27.02) |
| CIE-LCH | lch(35.98, 64.39, 335.19°) |
| OKLab | oklab(47.31% 0.1724 -0.0737) |
| OKLCH | oklch(47.31% 0.187 336.9) |
| XYZ | xyz(17.1405, 8.9964, 21.5984) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.45
Barney Purple
#A00498
ΔE00 4.29
Darkmagenta
#8B008B
ΔE00 5.03
Red Violet
#9E0168
ΔE00 6.03
Purple
#800080
ΔE00 6.20
Darkish Purple
#751973
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971C81 #1C9732
analogous
#701C97 #971C81 #971C43
triadic
#971C81 #81971C #1C8197
tetradic
#971C81 #97701C #1C9732 #1C4397
square
#971C81 #97701C #1C9732 #1C4397
split-complementary
#971C81 #43971C #1C9770
monochromatic
#300929 #631255 #971C81 #CB26AD #DE4FC5
Accessibility & contrast
On white
7.50
#971C81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#971C81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971C81
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971C81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971C81 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#9F264E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971c81; /* rgb */ color: rgb(151, 28, 129); /* oklch */ color: oklch(47.3% 0.187 336.9);
Tailwind
colors: {
custom: {
50: '#b968a6',
500: '#971c81',
950: '#000000',
},
}SCSS
$custom: #971c81; $custom-light: #b968a6; $custom-dark: #000000;
JSON
{
"hex": "#971c81",
"rgb": {
"r": 151,
"g": 28,
"b": 129
},
"hsl": {
"h": 310.732,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.47305,
"c": 0.18744,
"h": 336.9
},
"luminance": 0.08995
}Semantic roles & 50–950 ramp
primary
#971C81
secondary
#4EC162
accent
#EC5C3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F