#96177F#96177F
#96177F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.190 H 337.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #96177F |
|---|---|
| RGB | rgb(150, 23, 127) |
| HSL | hsl(311, 73%, 34%) |
| HSV | hsv(311, 85%, 59%) |
| CMYK | cmyk(0%, 84.7%, 15.3%, 41.2%) |
| CIE-LAB | lab(35.26, 59.17, -26.91) |
| CIE-LCH | lch(35.26, 65.00, 335.54°) |
| OKLab | oklab(46.73% 0.1749 -0.0733) |
| OKLCH | oklch(46.73% 0.19 337.3) |
| XYZ | xyz(16.7152, 8.6308, 20.8602) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.98
Barney Purple
#A00498
ΔE00 4.51
Darkmagenta
#8B008B
ΔE00 4.80
Red Violet
#9E0168
ΔE00 5.80
Purple
#800080
ΔE00 5.82
Darkish Purple
#751973
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96177F #17962E
analogous
#6E1796 #96177F #961740
triadic
#96177F #7F9617 #177F96
tetradic
#96177F #966E17 #17962E #174096
square
#96177F #966E17 #17962E #174096
split-complementary
#96177F #409617 #17966E
monochromatic
#2C0725 #610F52 #96177F #CB1FAC #E245C6
Accessibility & contrast
On white
7.70
#96177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#96177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96177F
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96177F | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4B5A7C
Tritanopia (blue-blind)
#9F214C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #96177f; /* rgb */ color: rgb(150, 23, 127); /* oklch */ color: oklch(46.7% 0.190 337.3);
Tailwind
colors: {
custom: {
50: '#b967a4',
500: '#96177f',
950: '#000000',
},
}SCSS
$custom: #96177f; $custom-light: #b967a4; $custom-dark: #000000;
JSON
{
"hex": "#96177f",
"rgb": {
"r": 150,
"g": 23,
"b": 127
},
"hsl": {
"h": 310.866,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.46726,
"c": 0.18969,
"h": 337.3
},
"luminance": 0.08629
}Semantic roles & 50–950 ramp
primary
#96177F
secondary
#45C35C
accent
#F05938
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F