#971B80#971B80
#971B80 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.2% C 0.188 H 337.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #971B80 |
|---|---|
| RGB | rgb(151, 27, 128) |
| HSL | hsl(311, 70%, 35%) |
| HSV | hsv(311, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 15.2%, 40.8%) |
| CIE-LAB | lab(35.84, 58.56, -26.62) |
| CIE-LCH | lch(35.84, 64.33, 335.55°) |
| OKLab | oklab(47.19% 0.1731 -0.0725) |
| OKLCH | oklch(47.19% 0.188 337.3) |
| XYZ | xyz(17.0511, 8.9234, 21.2423) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.66
Barney Purple
#A00498
ΔE00 4.45
Darkmagenta
#8B008B
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.83
Purple
#800080
ΔE00 6.22
Darkish Purple
#751973
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B80 #1B9732
analogous
#701B97 #971B80 #971B42
triadic
#971B80 #80971B #1B8097
tetradic
#971B80 #97701B #1B9732 #1B4297
square
#971B80 #97701B #1B9732 #1B4297
split-complementary
#971B80 #42971B #1B9770
monochromatic
#2F0828 #631254 #971B80 #CB24AC #DF4DC4
Accessibility & contrast
On white
7.54
#971B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#971B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B80
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B80 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204883
Deuteranopia (green-blind)
#4D5B7D
Tritanopia (blue-blind)
#A0244D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971b80; /* rgb */ color: rgb(151, 27, 128); /* oklch */ color: oklch(47.2% 0.188 337.3);
Tailwind
colors: {
custom: {
50: '#ba68a5',
500: '#971b80',
950: '#000000',
},
}SCSS
$custom: #971b80; $custom-light: #ba68a5; $custom-dark: #000000;
JSON
{
"hex": "#971b80",
"rgb": {
"r": 151,
"g": 27,
"b": 128
},
"hsl": {
"h": 311.129,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.47188,
"c": 0.18764,
"h": 337.3
},
"luminance": 0.08922
}Semantic roles & 50–950 ramp
primary
#971B80
secondary
#4CC162
accent
#EC5C3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F