#96217C#96217C
#96217C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.179 H 338.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #96217C |
|---|---|
| RGB | rgb(150, 33, 124) |
| HSL | hsl(313, 64%, 36%) |
| HSV | hsv(313, 78%, 59%) |
| CMYK | cmyk(0%, 78%, 17.3%, 41.2%) |
| CIE-LAB | lab(36.04, 56.07, -23.82) |
| CIE-LCH | lch(36.04, 60.92, 336.98°) |
| OKLab | oklab(47.24% 0.1666 -0.0646) |
| OKLCH | oklch(47.24% 0.179 338.8) |
| XYZ | xyz(16.7600, 9.0286, 19.9249) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.12
Red Violet
#9E0168
ΔE00 5.17
Barney Purple
#A00498
ΔE00 5.47
Darkmagenta
#8B008B
ΔE00 6.08
Light Eggplant
#894585
ΔE00 6.88
Purple
#800080
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96217C #21963B
analogous
#752196 #96217C #962142
triadic
#96217C #7C9621 #217C96
tetradic
#96217C #967521 #21963B #214296
square
#96217C #967521 #21963B #214296
split-complementary
#96217C #429621 #219675
monochromatic
#320B29 #641653 #96217C #C82CA5 #DA57BD
Accessibility & contrast
On white
7.49
#96217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#96217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96217C
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96217C | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#9F274C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #96217c; /* rgb */ color: rgb(150, 33, 124); /* oklch */ color: oklch(47.2% 0.179 338.8);
Tailwind
colors: {
custom: {
50: '#b96aa2',
500: '#96217c',
950: '#000000',
},
}SCSS
$custom: #96217c; $custom-light: #b96aa2; $custom-dark: #000000;
JSON
{
"hex": "#96217c",
"rgb": {
"r": 150,
"g": 33,
"b": 124
},
"hsl": {
"h": 313.333,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.47235,
"c": 0.17869,
"h": 338.8
},
"luminance": 0.09027
}Semantic roles & 50–950 ramp
primary
#96217C
secondary
#55BE6C
accent
#E76641
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F