#971F77#971F77
#971F77 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.178 H 341.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #971F77 |
|---|---|
| RGB | rgb(151, 31, 119) |
| HSL | hsl(316, 66%, 36%) |
| HSV | hsv(316, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 21.2%, 40.8%) |
| CIE-LAB | lab(35.78, 56.21, -21.09) |
| CIE-LCH | lch(35.78, 60.04, 339.44°) |
| OKLab | oklab(47% 0.1687 -0.0568) |
| OKLCH | oklch(47% 0.178 341.4) |
| XYZ | xyz(16.5828, 8.8929, 18.2924) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.04
Warm Purple
#952E8F
ΔE00 5.24
Barney Purple
#A00498
ΔE00 6.46
Darkmagenta
#8B008B
ΔE00 6.99
Deep Magenta
#A0025C
ΔE00 7.06
Bruise
#7E4071
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F77 #1F973F
analogous
#7B1F97 #971F77 #971F3B
triadic
#971F77 #77971F #1F7797
tetradic
#971F77 #977B1F #1F973F #1F3B97
square
#971F77 #977B1F #1F973F #1F3B97
split-complementary
#971F77 #3B971F #1F977B
monochromatic
#310A27 #64154F #971F77 #CA299F #DC54B8
Accessibility & contrast
On white
7.56
#971F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#971F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F77
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F77 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#525B74
Tritanopia (blue-blind)
#A12249
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971f77; /* rgb */ color: rgb(151, 31, 119); /* oklch */ color: oklch(47.0% 0.178 341.4);
Tailwind
colors: {
custom: {
50: '#ba699e',
500: '#971f77',
950: '#000000',
},
}SCSS
$custom: #971f77; $custom-light: #ba699e; $custom-dark: #000000;
JSON
{
"hex": "#971f77",
"rgb": {
"r": 151,
"g": 31,
"b": 119
},
"hsl": {
"h": 316,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47002,
"c": 0.17802,
"h": 341.4
},
"luminance": 0.08891
}Semantic roles & 50–950 ramp
primary
#971F77
secondary
#52BF6F
accent
#E96C3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E