#96197E#96197E
#96197E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.187 H 337.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #96197E |
|---|---|
| RGB | rgb(150, 25, 126) |
| HSL | hsl(312, 71%, 34%) |
| HSV | hsv(312, 83%, 59%) |
| CMYK | cmyk(0%, 83.3%, 16%, 41.2%) |
| CIE-LAB | lab(35.38, 58.55, -26.11) |
| CIE-LCH | lch(35.38, 64.11, 335.97°) |
| OKLab | oklab(46.79% 0.1735 -0.071) |
| OKLCH | oklch(46.79% 0.187 337.7) |
| XYZ | xyz(16.6916, 8.6873, 20.5324) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.05
Barney Purple
#A00498
ΔE00 4.75
Darkmagenta
#8B008B
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.58
Purple
#800080
ΔE00 6.06
Darkish Purple
#751973
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96197E #199631
analogous
#701996 #96197E #961940
triadic
#96197E #7E9619 #197E96
tetradic
#96197E #967019 #199631 #194096
square
#96197E #967019 #199631 #194096
split-complementary
#96197E #409619 #199670
monochromatic
#2D0826 #621052 #96197E #CA22AA #E149C3
Accessibility & contrast
On white
7.67
#96197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#96197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96197E
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96197E | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#9F224C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #96197e; /* rgb */ color: rgb(150, 25, 126); /* oklch */ color: oklch(46.8% 0.187 337.7);
Tailwind
colors: {
custom: {
50: '#b967a3',
500: '#96197e',
950: '#000000',
},
}SCSS
$custom: #96197e; $custom-light: #b967a3; $custom-dark: #000000;
JSON
{
"hex": "#96197e",
"rgb": {
"r": 150,
"g": 25,
"b": 126
},
"hsl": {
"h": 311.52,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.46789,
"c": 0.18744,
"h": 337.7
},
"luminance": 0.08686
}Semantic roles & 50–950 ramp
primary
#96197E
secondary
#49C260
accent
#EE5C3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F