#972870#972870
#972870 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.164 H 345.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #972870 |
|---|---|
| RGB | rgb(151, 40, 112) |
| HSL | hsl(321, 58%, 37%) |
| HSV | hsv(321, 74%, 59%) |
| CMYK | cmyk(0%, 73.5%, 25.8%, 40.8%) |
| CIE-LAB | lab(36.50, 52.35, -15.57) |
| CIE-LCH | lch(36.50, 54.61, 343.43°) |
| OKLab | oklab(47.42% 0.1585 -0.0414) |
| OKLCH | oklch(47.42% 0.164 345.4) |
| XYZ | xyz(16.4466, 9.2685, 16.2490) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.40
Deep Magenta
#A0025C
ΔE00 5.60
Dark Fuchsia
#9D0759
ΔE00 5.96
Dark Magenta
#960056
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.67
Warm Purple
#952E8F
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972870 #28974F
analogous
#862897 #972870 #972839
triadic
#972870 #709728 #287097
tetradic
#972870 #978628 #28974F #283997
square
#972870 #978628 #28974F #283997
split-complementary
#972870 #399728 #289786
monochromatic
#360E28 #671B4C #972870 #C73594 #D664AE
Accessibility & contrast
On white
7.36
#972870 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#972870 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972870
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972870 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972870 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364A72
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#A12648
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972870; /* rgb */ color: rgb(151, 40, 112); /* oklch */ color: oklch(47.4% 0.164 345.4);
Tailwind
colors: {
custom: {
50: '#b96c99',
500: '#972870',
950: '#000000',
},
}SCSS
$custom: #972870; $custom-light: #b96c99; $custom-dark: #000000;
JSON
{
"hex": "#972870",
"rgb": {
"r": 151,
"g": 40,
"b": 112
},
"hsl": {
"h": 321.081,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.47422,
"c": 0.16378,
"h": 345.4
},
"luminance": 0.09267
}Semantic roles & 50–950 ramp
primary
#972870
secondary
#5FBC80
accent
#E17D46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E