#97217F#97217F
#97217F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.181 H 337.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #97217F |
|---|---|
| RGB | rgb(151, 33, 127) |
| HSL | hsl(312, 64%, 36%) |
| HSV | hsv(312, 78%, 59%) |
| CMYK | cmyk(0%, 78.1%, 15.9%, 40.8%) |
| CIE-LAB | lab(36.37, 56.74, -25.17) |
| CIE-LCH | lch(36.37, 62.08, 336.08°) |
| OKLab | oklab(47.55% 0.1679 -0.0684) |
| OKLCH | oklch(47.55% 0.181 337.8) |
| XYZ | xyz(17.1375, 9.2010, 20.9480) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.60
Barney Purple
#A00498
ΔE00 4.92
Red Violet
#9E0168
ΔE00 5.64
Darkmagenta
#8B008B
ΔE00 5.77
Light Eggplant
#894585
ΔE00 6.77
Purple
#800080
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97217F #219739
analogous
#742197 #97217F #972144
triadic
#97217F #7F9721 #217F97
tetradic
#97217F #977421 #219739 #214497
square
#97217F #977421 #219739 #214497
split-complementary
#97217F #449721 #219774
monochromatic
#330B2B #651655 #97217F #C92CA9 #DA58C0
Accessibility & contrast
On white
7.39
#97217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#97217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97217F
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97217F | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#A0284E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97217f; /* rgb */ color: rgb(151, 33, 127); /* oklch */ color: oklch(47.6% 0.181 337.8);
Tailwind
colors: {
custom: {
50: '#b96aa4',
500: '#97217f',
950: '#000000',
},
}SCSS
$custom: #97217f; $custom-light: #b96aa4; $custom-dark: #000000;
JSON
{
"hex": "#97217f",
"rgb": {
"r": 151,
"g": 33,
"b": 127
},
"hsl": {
"h": 312.203,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.47554,
"c": 0.18133,
"h": 337.8
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#97217F
secondary
#55BE6B
accent
#E76341
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F