#972181#972181
#972181 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.183 H 337.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #972181 |
|---|---|
| RGB | rgb(151, 33, 129) |
| HSL | hsl(311, 64%, 36%) |
| HSV | hsv(311, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.47, 57.04, -26.26) |
| CIE-LCH | lch(36.47, 62.79, 335.28°) |
| OKLab | oklab(47.66% 0.1681 -0.0715) |
| OKLCH | oklch(47.66% 0.183 337) |
| XYZ | xyz(17.2691, 9.2536, 21.6413) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.23
Barney Purple
#A00498
ΔE00 4.53
Darkmagenta
#8B008B
ΔE00 5.47
Red Violet
#9E0168
ΔE00 6.03
Purple
#800080
ΔE00 6.64
Light Eggplant
#894585
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972181 #219737
analogous
#722197 #972181 #972146
triadic
#972181 #819721 #218197
tetradic
#972181 #977221 #219737 #214697
square
#972181 #977221 #219737 #214697
split-complementary
#972181 #469721 #219772
monochromatic
#330B2B #651656 #972181 #C92CAC #DA58C2
Accessibility & contrast
On white
7.37
#972181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#972181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972181
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972181 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9F294F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972181; /* rgb */ color: rgb(151, 33, 129); /* oklch */ color: oklch(47.7% 0.183 337.0);
Tailwind
colors: {
custom: {
50: '#b96aa6',
500: '#972181',
950: '#000000',
},
}SCSS
$custom: #972181; $custom-light: #b96aa6; $custom-dark: #000000;
JSON
{
"hex": "#972181",
"rgb": {
"r": 151,
"g": 33,
"b": 129
},
"hsl": {
"h": 311.186,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.47658,
"c": 0.18271,
"h": 337
},
"luminance": 0.09252
}Semantic roles & 50–950 ramp
primary
#972181
secondary
#55BE69
accent
#E76041
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F