#972771#972771
#972771 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.166 H 344.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #972771 |
|---|---|
| RGB | rgb(151, 39, 113) |
| HSL | hsl(320, 59%, 37%) |
| HSV | hsv(320, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 25.2%, 40.8%) |
| CIE-LAB | lab(36.41, 52.83, -16.33) |
| CIE-LCH | lch(36.41, 55.30, 342.82°) |
| OKLab | oklab(47.38% 0.1598 -0.0435) |
| OKLCH | oklch(47.38% 0.166 344.8) |
| XYZ | xyz(16.4693, 9.2243, 16.5327) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.42
Deep Magenta
#A0025C
ΔE00 5.78
Dark Fuchsia
#9D0759
ΔE00 6.16
Dark Magenta
#960056
ΔE00 6.34
Warm Purple
#952E8F
ΔE00 6.67
Bruise
#7E4071
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972771 #27974D
analogous
#852797 #972771 #972739
triadic
#972771 #719727 #277197
tetradic
#972771 #978527 #27974D #273997
square
#972771 #978527 #27974D #273997
split-complementary
#972771 #399727 #279785
monochromatic
#360E28 #661A4D #972771 #C83495 #D662AF
Accessibility & contrast
On white
7.38
#972771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#972771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972771
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972771 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344A73
Deuteranopia (green-blind)
#565C6E
Tritanopia (blue-blind)
#A12648
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972771; /* rgb */ color: rgb(151, 39, 113); /* oklch */ color: oklch(47.4% 0.166 344.8);
Tailwind
colors: {
custom: {
50: '#b96c9a',
500: '#972771',
950: '#000000',
},
}SCSS
$custom: #972771; $custom-light: #b96c9a; $custom-dark: #000000;
JSON
{
"hex": "#972771",
"rgb": {
"r": 151,
"g": 39,
"b": 113
},
"hsl": {
"h": 320.357,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.47375,
"c": 0.16559,
"h": 344.8
},
"luminance": 0.09223
}Semantic roles & 50–950 ramp
primary
#972771
secondary
#5EBC7E
accent
#E27B46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E