#972878#972878
#972878 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.169 H 341.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #972878 |
|---|---|
| RGB | rgb(151, 40, 120) |
| HSL | hsl(317, 58%, 37%) |
| HSV | hsv(317, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 20.5%, 40.8%) |
| CIE-LAB | lab(36.85, 53.44, -20.06) |
| CIE-LCH | lch(36.85, 57.08, 339.43°) |
| OKLab | oklab(47.79% 0.16 -0.0539) |
| OKLCH | oklch(47.79% 0.169 341.4) |
| XYZ | xyz(16.9120, 9.4546, 18.6999) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 5.07
Light Eggplant
#894585
ΔE00 6.53
Bruise
#7E4071
ΔE00 6.59
Barney Purple
#A00498
ΔE00 6.86
Deep Magenta
#A0025C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972878 #289747
analogous
#7F2897 #972878 #972840
triadic
#972878 #789728 #287897
tetradic
#972878 #977F28 #289747 #284097
square
#972878 #977F28 #289747 #284097
split-complementary
#972878 #409728 #28977F
monochromatic
#360E2B #671B52 #972878 #C7359E #D664B6
Accessibility & contrast
On white
7.26
#972878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#972878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972878
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972878 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A02A4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #972878; /* rgb */ color: rgb(151, 40, 120); /* oklch */ color: oklch(47.8% 0.169 341.4);
Tailwind
colors: {
custom: {
50: '#b96d9f',
500: '#972878',
950: '#000000',
},
}SCSS
$custom: #972878; $custom-light: #b96d9f; $custom-dark: #000000;
JSON
{
"hex": "#972878",
"rgb": {
"r": 151,
"g": 40,
"b": 120
},
"hsl": {
"h": 316.757,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.4779,
"c": 0.16887,
"h": 341.4
},
"luminance": 0.09453
}Semantic roles & 50–950 ramp
primary
#972878
secondary
#5FBC79
accent
#E17246
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E