#972875#972875
#972875 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.167 H 342.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #972875 |
|---|---|
| RGB | rgb(151, 40, 117) |
| HSL | hsl(318, 58%, 37%) |
| HSV | hsv(318, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 22.5%, 40.8%) |
| CIE-LAB | lab(36.71, 53.02, -18.39) |
| CIE-LCH | lch(36.71, 56.12, 340.88°) |
| OKLab | oklab(47.65% 0.1595 -0.0492) |
| OKLCH | oklch(47.65% 0.167 342.8) |
| XYZ | xyz(16.7328, 9.3830, 17.7560) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.05
Warm Purple
#952E8F
ΔE00 5.76
Bruise
#7E4071
ΔE00 6.55
Deep Magenta
#A0025C
ΔE00 6.62
Light Eggplant
#894585
ΔE00 6.86
Dark Fuchsia
#9D0759
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972875 #28974A
analogous
#812897 #972875 #97283E
triadic
#972875 #759728 #287597
tetradic
#972875 #978128 #28974A #283E97
square
#972875 #978128 #28974A #283E97
split-complementary
#972875 #3E9728 #289781
monochromatic
#360E2A #671B50 #972875 #C7359A #D664B3
Accessibility & contrast
On white
7.30
#972875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#972875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972875
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972875 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334B77
Deuteranopia (green-blind)
#555D72
Tritanopia (blue-blind)
#A1294B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972875; /* rgb */ color: rgb(151, 40, 117); /* oklch */ color: oklch(47.6% 0.167 342.8);
Tailwind
colors: {
custom: {
50: '#b96d9d',
500: '#972875',
950: '#000000',
},
}SCSS
$custom: #972875; $custom-light: #b96d9d; $custom-dark: #000000;
JSON
{
"hex": "#972875",
"rgb": {
"r": 151,
"g": 40,
"b": 117
},
"hsl": {
"h": 318.378,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47649,
"c": 0.16691,
"h": 342.8
},
"luminance": 0.09381
}Semantic roles & 50–950 ramp
primary
#972875
secondary
#5FBC7B
accent
#E17646
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E