#96187F#96187F
#96187F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.189 H 337.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #96187F |
|---|---|
| RGB | rgb(150, 24, 127) |
| HSL | hsl(311, 72%, 34%) |
| HSV | hsv(311, 84%, 59%) |
| CMYK | cmyk(0%, 84%, 15.3%, 41.2%) |
| CIE-LAB | lab(35.34, 58.94, -26.79) |
| CIE-LCH | lch(35.34, 64.74, 335.56°) |
| OKLab | oklab(46.78% 0.1742 -0.073) |
| OKLCH | oklch(46.78% 0.189 337.3) |
| XYZ | xyz(16.7354, 8.6713, 20.8669) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.94
Barney Purple
#A00498
ΔE00 4.53
Darkmagenta
#8B008B
ΔE00 4.86
Red Violet
#9E0168
ΔE00 5.79
Purple
#800080
ΔE00 5.89
Darkish Purple
#751973
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96187F #18962F
analogous
#6E1896 #96187F #961840
triadic
#96187F #7F9618 #187F96
tetradic
#96187F #966E18 #18962F #184096
square
#96187F #966E18 #18962F #184096
split-complementary
#96187F #409618 #18966E
monochromatic
#2C0726 #611052 #96187F #CB20AC #E247C5
Accessibility & contrast
On white
7.68
#96187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#96187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96187F
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96187F | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9E224C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #96187f; /* rgb */ color: rgb(150, 24, 127); /* oklch */ color: oklch(46.8% 0.189 337.3);
Tailwind
colors: {
custom: {
50: '#b967a4',
500: '#96187f',
950: '#000000',
},
}SCSS
$custom: #96187f; $custom-light: #b967a4; $custom-dark: #000000;
JSON
{
"hex": "#96187f",
"rgb": {
"r": 150,
"g": 24,
"b": 127
},
"hsl": {
"h": 310.952,
"s": 72.414,
"l": 34.118
},
"oklch": {
"l": 0.46783,
"c": 0.18891,
"h": 337.3
},
"luminance": 0.0867
}Semantic roles & 50–950 ramp
primary
#96187F
secondary
#47C35E
accent
#EF5A39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F