#972179#972179
#972179 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.177 H 340.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #972179 |
|---|---|
| RGB | rgb(151, 33, 121) |
| HSL | hsl(315, 64%, 36%) |
| HSV | hsv(315, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 19.9%, 40.8%) |
| CIE-LAB | lab(36.08, 55.89, -21.87) |
| CIE-LCH | lch(36.08, 60.02, 338.63°) |
| OKLab | oklab(47.25% 0.1672 -0.059) |
| OKLCH | oklch(47.25% 0.177 340.6) |
| XYZ | xyz(16.7581, 9.0492, 18.9496) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.46
Warm Purple
#952E8F
ΔE00 4.81
Barney Purple
#A00498
ΔE00 6.15
Darkmagenta
#8B008B
ΔE00 6.79
Light Eggplant
#894585
ΔE00 7.10
Bruise
#7E4071
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972179 #21973F
analogous
#7A2197 #972179 #97213E
triadic
#972179 #799721 #217997
tetradic
#972179 #977A21 #21973F #213E97
square
#972179 #977A21 #21973F #213E97
split-complementary
#972179 #3E9721 #21977A
monochromatic
#330B29 #651651 #972179 #C92CA1 #DA58B9
Accessibility & contrast
On white
7.47
#972179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#972179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972179
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972179 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#515C76
Tritanopia (blue-blind)
#A0254B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #972179; /* rgb */ color: rgb(151, 33, 121); /* oklch */ color: oklch(47.3% 0.177 340.6);
Tailwind
colors: {
custom: {
50: '#b96aa0',
500: '#972179',
950: '#000000',
},
}SCSS
$custom: #972179; $custom-light: #b96aa0; $custom-dark: #000000;
JSON
{
"hex": "#972179",
"rgb": {
"r": 151,
"g": 33,
"b": 121
},
"hsl": {
"h": 315.254,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.4725,
"c": 0.17731,
"h": 340.6
},
"luminance": 0.09047
}Semantic roles & 50–950 ramp
primary
#972179
secondary
#55BE70
accent
#E76B41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E