#972180#972180
#972180 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.182 H 337.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #972180 |
|---|---|
| RGB | rgb(151, 33, 128) |
| HSL | hsl(312, 64%, 36%) |
| HSV | hsv(312, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 15.2%, 40.8%) |
| CIE-LAB | lab(36.42, 56.89, -25.71) |
| CIE-LCH | lch(36.42, 62.43, 335.68°) |
| OKLab | oklab(47.61% 0.168 -0.0699) |
| OKLCH | oklch(47.61% 0.182 337.4) |
| XYZ | xyz(17.2030, 9.2272, 21.2929) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Barney Purple
#A00498
ΔE00 4.72
Darkmagenta
#8B008B
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.84
Purple
#800080
ΔE00 6.73
Light Eggplant
#894585
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972180 #219738
analogous
#732197 #972180 #972145
triadic
#972180 #809721 #218097
tetradic
#972180 #977321 #219738 #214597
square
#972180 #977321 #219738 #214597
split-complementary
#972180 #459721 #219773
monochromatic
#330B2B #651655 #972180 #C92CAB #DA58C1
Accessibility & contrast
On white
7.38
#972180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#972180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972180
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972180 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#9F294F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972180; /* rgb */ color: rgb(151, 33, 128); /* oklch */ color: oklch(47.6% 0.182 337.4);
Tailwind
colors: {
custom: {
50: '#b96aa5',
500: '#972180',
950: '#000000',
},
}SCSS
$custom: #972180; $custom-light: #b96aa5; $custom-dark: #000000;
JSON
{
"hex": "#972180",
"rgb": {
"r": 151,
"g": 33,
"b": 128
},
"hsl": {
"h": 311.695,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.47605,
"c": 0.18201,
"h": 337.4
},
"luminance": 0.09226
}Semantic roles & 50–950 ramp
primary
#972180
secondary
#55BE6A
accent
#E76141
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F