#971B81#971B81
#971B81 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.2% C 0.188 H 336.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #971B81 |
|---|---|
| RGB | rgb(151, 27, 129) |
| HSL | hsl(311, 70%, 35%) |
| HSV | hsv(311, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 14.6%, 40.8%) |
| CIE-LAB | lab(35.89, 58.71, -27.17) |
| CIE-LCH | lch(35.89, 64.69, 335.17°) |
| OKLab | oklab(47.24% 0.1731 -0.0741) |
| OKLCH | oklch(47.24% 0.188 336.8) |
| XYZ | xyz(17.1172, 8.9498, 21.5906) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.50
Barney Purple
#A00498
ΔE00 4.26
Darkmagenta
#8B008B
ΔE00 4.95
Red Violet
#9E0168
ΔE00 6.03
Purple
#800080
ΔE00 6.13
Darkish Purple
#751973
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B81 #1B9731
analogous
#6F1B97 #971B81 #971B43
triadic
#971B81 #81971B #1B8197
tetradic
#971B81 #976F1B #1B9731 #1B4397
square
#971B81 #976F1B #1B9731 #1B4397
split-complementary
#971B81 #43971B #1B976F
monochromatic
#2F0828 #631255 #971B81 #CB24AD #DF4DC5
Accessibility & contrast
On white
7.53
#971B81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#971B81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B81
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B81 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9F254E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971b81; /* rgb */ color: rgb(151, 27, 129); /* oklch */ color: oklch(47.2% 0.188 336.8);
Tailwind
colors: {
custom: {
50: '#ba68a6',
500: '#971b81',
950: '#000000',
},
}SCSS
$custom: #971b81; $custom-light: #ba68a6; $custom-dark: #000000;
JSON
{
"hex": "#971b81",
"rgb": {
"r": 151,
"g": 27,
"b": 129
},
"hsl": {
"h": 310.645,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.47241,
"c": 0.18831,
"h": 336.8
},
"luminance": 0.08948
}Semantic roles & 50–950 ramp
primary
#971B81
secondary
#4CC161
accent
#EC5B3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F