#972880#972880
#972880 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.174 H 337.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #972880 |
|---|---|
| RGB | rgb(151, 40, 128) |
| HSL | hsl(312, 58%, 37%) |
| HSV | hsv(312, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 15.2%, 40.8%) |
| CIE-LAB | lab(37.22, 54.61, -24.46) |
| CIE-LCH | lch(37.22, 59.84, 335.87°) |
| OKLab | oklab(48.18% 0.1612 -0.0664) |
| OKLCH | oklch(48.18% 0.174 337.6) |
| XYZ | xyz(17.4179, 9.6570, 21.3645) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.30
Barney Purple
#A00498
ΔE00 5.24
Light Eggplant
#894585
ΔE00 5.96
Red Violet
#9E0168
ΔE00 5.97
Darkmagenta
#8B008B
ΔE00 6.40
Bruise
#7E4071
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972880 #28973F
analogous
#762897 #972880 #972849
triadic
#972880 #809728 #288097
tetradic
#972880 #977628 #28973F #284997
square
#972880 #977628 #28973F #284997
split-complementary
#972880 #499728 #289776
monochromatic
#360E2E #671B57 #972880 #C735A9 #D664BE
Accessibility & contrast
On white
7.16
#972880 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#972880 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972880
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972880 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972880 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4D82
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#9F2E51
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #972880; /* rgb */ color: rgb(151, 40, 128); /* oklch */ color: oklch(48.2% 0.174 337.6);
Tailwind
colors: {
custom: {
50: '#b96da5',
500: '#972880',
950: '#000000',
},
}SCSS
$custom: #972880; $custom-light: #b96da5; $custom-dark: #000000;
JSON
{
"hex": "#972880",
"rgb": {
"r": 151,
"g": 40,
"b": 128
},
"hsl": {
"h": 312.432,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.48184,
"c": 0.17435,
"h": 337.6
},
"luminance": 0.09655
}Semantic roles & 50–950 ramp
primary
#972880
secondary
#5FBC72
accent
#E16746
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F