#972173#972173
#972173 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.173 H 343.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #972173 |
|---|---|
| RGB | rgb(151, 33, 115) |
| HSL | hsl(318, 64%, 36%) |
| HSV | hsv(318, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 23.8%, 40.8%) |
| CIE-LAB | lab(35.80, 55.08, -18.53) |
| CIE-LCH | lch(35.80, 58.11, 341.41°) |
| OKLab | oklab(46.96% 0.1663 -0.0496) |
| OKLCH | oklch(46.96% 0.173 343.4) |
| XYZ | xyz(16.4015, 8.9066, 17.0717) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.35
Warm Purple
#952E8F
ΔE00 6.10
Deep Magenta
#A0025C
ΔE00 6.19
Dark Fuchsia
#9D0759
ΔE00 6.61
Dark Magenta
#960056
ΔE00 6.63
Bruise
#7E4071
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972173 #219745
analogous
#802197 #972173 #972138
triadic
#972173 #739721 #217397
tetradic
#972173 #978021 #219745 #213897
square
#972173 #978021 #219745 #213897
split-complementary
#972173 #389721 #219780
monochromatic
#330B26 #65164D #972173 #C92C99 #DA58B3
Accessibility & contrast
On white
7.55
#972173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#972173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972173
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972173 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#A12148
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #972173; /* rgb */ color: rgb(151, 33, 115); /* oklch */ color: oklch(47.0% 0.173 343.4);
Tailwind
colors: {
custom: {
50: '#ba6a9b',
500: '#972173',
950: '#000000',
},
}SCSS
$custom: #972173; $custom-light: #ba6a9b; $custom-dark: #000000;
JSON
{
"hex": "#972173",
"rgb": {
"r": 151,
"g": 33,
"b": 115
},
"hsl": {
"h": 318.305,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.46962,
"c": 0.17349,
"h": 343.4
},
"luminance": 0.08905
}Semantic roles & 50–950 ramp
primary
#972173
secondary
#55BE75
accent
#E77341
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E