#972879#972879
#972879 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.170 H 340.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #972879 |
|---|---|
| RGB | rgb(151, 40, 121) |
| HSL | hsl(316, 58%, 37%) |
| HSV | hsv(316, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 19.9%, 40.8%) |
| CIE-LAB | lab(36.89, 53.59, -20.61) |
| CIE-LCH | lch(36.89, 57.41, 338.96°) |
| OKLab | oklab(47.84% 0.1602 -0.0555) |
| OKLCH | oklch(47.84% 0.17 340.9) |
| XYZ | xyz(16.9730, 9.4790, 19.0212) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.70
Warm Purple
#952E8F
ΔE00 4.84
Light Eggplant
#894585
ΔE00 6.43
Bruise
#7E4071
ΔE00 6.62
Barney Purple
#A00498
ΔE00 6.65
Deep Magenta
#A0025C
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972879 #289746
analogous
#7D2897 #972879 #972842
triadic
#972879 #799728 #287997
tetradic
#972879 #977D28 #289746 #284297
square
#972879 #977D28 #289746 #284297
split-complementary
#972879 #429728 #28977D
monochromatic
#360E2B #671B52 #972879 #C735A0 #D664B7
Accessibility & contrast
On white
7.25
#972879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#972879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972879
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972879 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A02B4D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #972879; /* rgb */ color: rgb(151, 40, 121); /* oklch */ color: oklch(47.8% 0.170 340.9);
Tailwind
colors: {
custom: {
50: '#b96da0',
500: '#972879',
950: '#000000',
},
}SCSS
$custom: #972879; $custom-light: #b96da0; $custom-dark: #000000;
JSON
{
"hex": "#972879",
"rgb": {
"r": 151,
"g": 40,
"b": 121
},
"hsl": {
"h": 316.216,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47838,
"c": 0.16953,
"h": 340.9
},
"luminance": 0.09477
}Semantic roles & 50–950 ramp
primary
#972879
secondary
#5FBC78
accent
#E17046
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E