#97217C#97217C
#97217C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.179 H 339.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #97217C |
|---|---|
| RGB | rgb(151, 33, 124) |
| HSL | hsl(314, 64%, 36%) |
| HSV | hsv(314, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 17.9%, 40.8%) |
| CIE-LAB | lab(36.22, 56.31, -23.53) |
| CIE-LCH | lch(36.22, 61.03, 337.33°) |
| OKLab | oklab(47.4% 0.1676 -0.0637) |
| OKLCH | oklch(47.4% 0.179 339.2) |
| XYZ | xyz(16.9449, 9.1239, 19.9336) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Red Violet
#9E0168
ΔE00 5.05
Barney Purple
#A00498
ΔE00 5.52
Darkmagenta
#8B008B
ΔE00 6.26
Light Eggplant
#894585
ΔE00 6.91
Purple
#800080
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97217C #21973C
analogous
#772197 #97217C #972141
triadic
#97217C #7C9721 #217C97
tetradic
#97217C #977721 #21973C #214197
square
#97217C #977721 #21973C #214197
split-complementary
#97217C #419721 #219777
monochromatic
#330B2A #651653 #97217C #C92CA5 #DA58BD
Accessibility & contrast
On white
7.44
#97217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#97217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97217C
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97217C | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29497E
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#A0264C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #97217c; /* rgb */ color: rgb(151, 33, 124); /* oklch */ color: oklch(47.4% 0.179 339.2);
Tailwind
colors: {
custom: {
50: '#b96aa2',
500: '#97217c',
950: '#000000',
},
}SCSS
$custom: #97217c; $custom-light: #b96aa2; $custom-dark: #000000;
JSON
{
"hex": "#97217c",
"rgb": {
"r": 151,
"g": 33,
"b": 124
},
"hsl": {
"h": 313.729,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.474,
"c": 0.1793,
"h": 339.2
},
"luminance": 0.09122
}Semantic roles & 50–950 ramp
primary
#97217C
secondary
#55BE6D
accent
#E76741
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F