#972877#972877
#972877 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.168 H 341.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #972877 |
|---|---|
| RGB | rgb(151, 40, 119) |
| HSL | hsl(317, 58%, 37%) |
| HSV | hsv(317, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 21.2%, 40.8%) |
| CIE-LAB | lab(36.80, 53.30, -19.50) |
| CIE-LCH | lch(36.80, 56.76, 339.90°) |
| OKLab | oklab(47.74% 0.1599 -0.0524) |
| OKLCH | oklch(47.74% 0.168 341.9) |
| XYZ | xyz(16.8516, 9.4305, 18.3820) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.36
Warm Purple
#952E8F
ΔE00 5.30
Bruise
#7E4071
ΔE00 6.57
Light Eggplant
#894585
ΔE00 6.63
Deep Magenta
#A0025C
ΔE00 7.03
Barney Purple
#A00498
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972877 #289748
analogous
#7F2897 #972877 #972840
triadic
#972877 #779728 #287797
tetradic
#972877 #977F28 #289748 #284097
square
#972877 #977F28 #289748 #284097
split-complementary
#972877 #409728 #28977F
monochromatic
#360E2B #671B51 #972877 #C7359D #D664B5
Accessibility & contrast
On white
7.28
#972877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#972877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972877
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972877 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#555D74
Tritanopia (blue-blind)
#A02A4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #972877; /* rgb */ color: rgb(151, 40, 119); /* oklch */ color: oklch(47.7% 0.168 341.9);
Tailwind
colors: {
custom: {
50: '#b96d9e',
500: '#972877',
950: '#000000',
},
}SCSS
$custom: #972877; $custom-light: #b96d9e; $custom-dark: #000000;
JSON
{
"hex": "#972877",
"rgb": {
"r": 151,
"g": 40,
"b": 119
},
"hsl": {
"h": 317.297,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47743,
"c": 0.16821,
"h": 341.9
},
"luminance": 0.09429
}Semantic roles & 50–950 ramp
primary
#972877
secondary
#5FBC7A
accent
#E17346
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E