#971F76#971F76
#971F76 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.177 H 341.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #971F76 |
|---|---|
| RGB | rgb(151, 31, 118) |
| HSL | hsl(317, 66%, 36%) |
| HSV | hsv(317, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 21.9%, 40.8%) |
| CIE-LAB | lab(35.73, 56.08, -20.53) |
| CIE-LCH | lch(35.73, 59.72, 339.89°) |
| OKLab | oklab(46.95% 0.1686 -0.0552) |
| OKLCH | oklch(46.95% 0.177 341.9) |
| XYZ | xyz(16.5231, 8.8690, 17.9778) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.85
Warm Purple
#952E8F
ΔE00 5.45
Barney Purple
#A00498
ΔE00 6.68
Deep Magenta
#A0025C
ΔE00 6.85
Darkmagenta
#8B008B
ΔE00 7.18
Dark Magenta
#960056
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F76 #1F9740
analogous
#7C1F97 #971F76 #971F3A
triadic
#971F76 #76971F #1F7697
tetradic
#971F76 #977C1F #1F9740 #1F3A97
square
#971F76 #977C1F #1F9740 #1F3A97
split-complementary
#971F76 #3A971F #1F977C
monochromatic
#310A27 #64154E #971F76 #CA299E #DC54B7
Accessibility & contrast
On white
7.57
#971F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#971F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F76
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F76 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4878
Deuteranopia (green-blind)
#525B73
Tritanopia (blue-blind)
#A12149
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971f76; /* rgb */ color: rgb(151, 31, 118); /* oklch */ color: oklch(47.0% 0.177 341.9);
Tailwind
colors: {
custom: {
50: '#ba699d',
500: '#971f76',
950: '#000000',
},
}SCSS
$custom: #971f76; $custom-light: #ba699d; $custom-dark: #000000;
JSON
{
"hex": "#971f76",
"rgb": {
"r": 151,
"g": 31,
"b": 118
},
"hsl": {
"h": 316.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.46954,
"c": 0.17739,
"h": 341.9
},
"luminance": 0.08867
}Semantic roles & 50–950 ramp
primary
#971F76
secondary
#52BF70
accent
#E96E3F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E