#972571#972571
#972571 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.168 H 344.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #972571 |
|---|---|
| RGB | rgb(151, 37, 113) |
| HSL | hsl(320, 61%, 37%) |
| HSV | hsv(320, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 25.2%, 40.8%) |
| CIE-LAB | lab(36.17, 53.52, -16.71) |
| CIE-LCH | lch(36.17, 56.07, 342.67°) |
| OKLab | oklab(47.2% 0.1619 -0.0445) |
| OKLCH | oklch(47.2% 0.168 344.6) |
| XYZ | xyz(16.4054, 9.0965, 16.5114) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.26
Deep Magenta
#A0025C
ΔE00 5.76
Dark Fuchsia
#9D0759
ΔE00 6.15
Dark Magenta
#960056
ΔE00 6.28
Warm Purple
#952E8F
ΔE00 6.62
Bruise
#7E4071
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972571 #25974B
analogous
#842597 #972571 #972538
triadic
#972571 #719725 #257197
tetradic
#972571 #978425 #25974B #253897
square
#972571 #978425 #25974B #253897
split-complementary
#972571 #389725 #259784
monochromatic
#350D27 #66194C #972571 #C83196 #D85FAF
Accessibility & contrast
On white
7.45
#972571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#972571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972571
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972571 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A12448
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972571; /* rgb */ color: rgb(151, 37, 113); /* oklch */ color: oklch(47.2% 0.168 344.6);
Tailwind
colors: {
custom: {
50: '#b96b9a',
500: '#972571',
950: '#000000',
},
}SCSS
$custom: #972571; $custom-light: #b96b9a; $custom-dark: #000000;
JSON
{
"hex": "#972571",
"rgb": {
"r": 151,
"g": 37,
"b": 113
},
"hsl": {
"h": 320,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47198,
"c": 0.1679,
"h": 344.6
},
"luminance": 0.09095
}Semantic roles & 50–950 ramp
primary
#972571
secondary
#5BBD7C
accent
#E47944
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E