#972874#972874
#972874 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 343.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #972874 |
|---|---|
| RGB | rgb(151, 40, 116) |
| HSL | hsl(319, 58%, 37%) |
| HSV | hsv(319, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 23.2%, 40.8%) |
| CIE-LAB | lab(36.67, 52.89, -17.83) |
| CIE-LCH | lch(36.67, 55.81, 341.37°) |
| OKLab | oklab(47.6% 0.1593 -0.0477) |
| OKLCH | oklch(47.6% 0.166 343.3) |
| XYZ | xyz(16.6743, 9.3596, 17.4481) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.90
Warm Purple
#952E8F
ΔE00 5.99
Deep Magenta
#A0025C
ΔE00 6.42
Bruise
#7E4071
ΔE00 6.56
Dark Fuchsia
#9D0759
ΔE00 6.82
Dark Magenta
#960056
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972874 #28974B
analogous
#832897 #972874 #97283C
triadic
#972874 #749728 #287497
tetradic
#972874 #978328 #28974B #283C97
square
#972874 #978328 #28974B #283C97
split-complementary
#972874 #3C9728 #289783
monochromatic
#360E2A #671B4F #972874 #C73599 #D664B2
Accessibility & contrast
On white
7.31
#972874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#972874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972874
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972874 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334B76
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A1284A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972874; /* rgb */ color: rgb(151, 40, 116); /* oklch */ color: oklch(47.6% 0.166 343.3);
Tailwind
colors: {
custom: {
50: '#b96d9c',
500: '#972874',
950: '#000000',
},
}SCSS
$custom: #972874; $custom-light: #b96d9c; $custom-dark: #000000;
JSON
{
"hex": "#972874",
"rgb": {
"r": 151,
"g": 40,
"b": 116
},
"hsl": {
"h": 318.919,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47603,
"c": 0.16627,
"h": 343.3
},
"luminance": 0.09358
}Semantic roles & 50–950 ramp
primary
#972874
secondary
#5FBC7C
accent
#E17746
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E