#972876#972876
#972876 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.168 H 342.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #972876 |
|---|---|
| RGB | rgb(151, 40, 118) |
| HSL | hsl(318, 58%, 37%) |
| HSV | hsv(318, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 21.9%, 40.8%) |
| CIE-LAB | lab(36.76, 53.16, -18.94) |
| CIE-LCH | lch(36.76, 56.44, 340.39°) |
| OKLab | oklab(47.7% 0.1597 -0.0508) |
| OKLCH | oklch(47.7% 0.168 342.4) |
| XYZ | xyz(16.7919, 9.4066, 18.0674) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.20
Warm Purple
#952E8F
ΔE00 5.53
Bruise
#7E4071
ΔE00 6.56
Light Eggplant
#894585
ΔE00 6.74
Deep Magenta
#A0025C
ΔE00 6.83
Dark Fuchsia
#9D0759
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972876 #289749
analogous
#812897 #972876 #97283E
triadic
#972876 #769728 #287697
tetradic
#972876 #978128 #289749 #283E97
square
#972876 #978128 #289749 #283E97
split-complementary
#972876 #3E9728 #289781
monochromatic
#360E2A #671B50 #972876 #C7359C #D664B4
Accessibility & contrast
On white
7.29
#972876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#972876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972876
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972876 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A1294B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972876; /* rgb */ color: rgb(151, 40, 118); /* oklch */ color: oklch(47.7% 0.168 342.4);
Tailwind
colors: {
custom: {
50: '#b96d9d',
500: '#972876',
950: '#000000',
},
}SCSS
$custom: #972876; $custom-light: #b96d9d; $custom-dark: #000000;
JSON
{
"hex": "#972876",
"rgb": {
"r": 151,
"g": 40,
"b": 118
},
"hsl": {
"h": 317.838,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47696,
"c": 0.16756,
"h": 342.4
},
"luminance": 0.09405
}Semantic roles & 50–950 ramp
primary
#972876
secondary
#5FBC7B
accent
#E17546
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E