#971F80#971F80
#971F80 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.184 H 337.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #971F80 |
|---|---|
| RGB | rgb(151, 31, 128) |
| HSL | hsl(312, 66%, 36%) |
| HSV | hsv(312, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 15.2%, 40.8%) |
| CIE-LAB | lab(36.21, 57.48, -26.03) |
| CIE-LCH | lch(36.21, 63.10, 335.63°) |
| OKLab | oklab(47.46% 0.1698 -0.0708) |
| OKLCH | oklch(47.46% 0.184 337.4) |
| XYZ | xyz(17.1491, 9.1194, 21.2750) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.49
Barney Purple
#A00498
ΔE00 4.62
Darkmagenta
#8B008B
ΔE00 5.43
Red Violet
#9E0168
ΔE00 5.83
Purple
#800080
ΔE00 6.55
Light Eggplant
#894585
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F80 #1F9736
analogous
#721F97 #971F80 #971F44
triadic
#971F80 #80971F #1F8097
tetradic
#971F80 #97721F #1F9736 #1F4497
square
#971F80 #97721F #1F9736 #1F4497
split-complementary
#971F80 #44971F #1F9772
monochromatic
#310A2A #641555 #971F80 #CA29AB #DC54C2
Accessibility & contrast
On white
7.44
#971F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#971F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F80
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F80 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#4E5C7D
Tritanopia (blue-blind)
#9F274E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971f80; /* rgb */ color: rgb(151, 31, 128); /* oklch */ color: oklch(47.5% 0.184 337.4);
Tailwind
colors: {
custom: {
50: '#b969a5',
500: '#971f80',
950: '#000000',
},
}SCSS
$custom: #971f80; $custom-light: #b969a5; $custom-dark: #000000;
JSON
{
"hex": "#971f80",
"rgb": {
"r": 151,
"g": 31,
"b": 128
},
"hsl": {
"h": 311.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47458,
"c": 0.18398,
"h": 337.4
},
"luminance": 0.09118
}Semantic roles & 50–950 ramp
primary
#971F80
secondary
#52BF67
accent
#E95F3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F