#971A76#971A76
#971A76 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.182 H 341.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #971A76 |
|---|---|
| RGB | rgb(151, 26, 118) |
| HSL | hsl(316, 71%, 35%) |
| HSV | hsv(316, 83%, 59%) |
| CMYK | cmyk(0%, 82.8%, 21.9%, 40.8%) |
| CIE-LAB | lab(35.26, 57.43, -21.26) |
| CIE-LCH | lch(35.26, 61.24, 339.68°) |
| OKLab | oklab(46.61% 0.1727 -0.0572) |
| OKLCH | oklch(46.61% 0.182 341.7) |
| XYZ | xyz(16.4025, 8.6279, 17.9376) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.82
Warm Purple
#952E8F
ΔE00 5.52
Barney Purple
#A00498
ΔE00 6.47
Darkmagenta
#8B008B
ΔE00 6.80
Deep Magenta
#A0025C
ΔE00 6.93
Dark Magenta
#960056
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971A76 #1A973B
analogous
#7A1A97 #971A76 #971A38
triadic
#971A76 #76971A #1A7697
tetradic
#971A76 #977A1A #1A973B #1A3897
square
#971A76 #977A1A #1A973B #1A3897
split-complementary
#971A76 #38971A #1A977A
monochromatic
#2F0824 #63114D #971A76 #CB239F #E04BB9
Accessibility & contrast
On white
7.71
#971A76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#971A76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971A76
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971A76 | 1.00 | 7.71 | 2.73 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#515A73
Tritanopia (blue-blind)
#A11D47
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #971a76; /* rgb */ color: rgb(151, 26, 118); /* oklch */ color: oklch(46.6% 0.182 341.7);
Tailwind
colors: {
custom: {
50: '#ba679d',
500: '#971a76',
950: '#000000',
},
}SCSS
$custom: #971a76; $custom-light: #ba679d; $custom-dark: #000000;
JSON
{
"hex": "#971a76",
"rgb": {
"r": 151,
"g": 26,
"b": 118
},
"hsl": {
"h": 315.84,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.46612,
"c": 0.18199,
"h": 341.7
},
"luminance": 0.08626
}Semantic roles & 50–950 ramp
primary
#971A76
secondary
#4BC26A
accent
#ED6A3A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E