#96217A#96217A
#96217A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.177 H 339.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #96217A |
|---|---|
| RGB | rgb(150, 33, 122) |
| HSL | hsl(314, 64%, 36%) |
| HSV | hsv(314, 78%, 59%) |
| CMYK | cmyk(0%, 78%, 18.7%, 41.2%) |
| CIE-LAB | lab(35.94, 55.79, -22.72) |
| CIE-LCH | lch(35.94, 60.24, 337.84°) |
| OKLab | oklab(47.13% 0.1664 -0.0614) |
| OKLCH | oklch(47.13% 0.177 339.7) |
| XYZ | xyz(16.6349, 8.9785, 19.2655) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.53
Red Violet
#9E0168
ΔE00 4.78
Barney Purple
#A00498
ΔE00 5.88
Darkmagenta
#8B008B
ΔE00 6.44
Light Eggplant
#894585
ΔE00 7.00
Purple
#800080
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96217A #21963D
analogous
#772196 #96217A #96213F
triadic
#96217A #7A9621 #217A96
tetradic
#96217A #967721 #21963D #213F96
square
#96217A #967721 #21963D #213F96
split-complementary
#96217A #3F9621 #219677
monochromatic
#320B28 #641651 #96217A #C82CA3 #DA57BB
Accessibility & contrast
On white
7.51
#96217A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#96217A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96217A
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96217A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96217A | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#9F264B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #96217a; /* rgb */ color: rgb(150, 33, 122); /* oklch */ color: oklch(47.1% 0.177 339.7);
Tailwind
colors: {
custom: {
50: '#b96aa0',
500: '#96217a',
950: '#000000',
},
}SCSS
$custom: #96217a; $custom-light: #b96aa0; $custom-dark: #000000;
JSON
{
"hex": "#96217a",
"rgb": {
"r": 150,
"g": 33,
"b": 122
},
"hsl": {
"h": 314.359,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.47134,
"c": 0.17735,
"h": 339.7
},
"luminance": 0.08977
}Semantic roles & 50–950 ramp
primary
#96217A
secondary
#55BE6E
accent
#E76941
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E