#96187B#96187B
#96187B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.6% C 0.186 H 339.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #96187B |
|---|---|
| RGB | rgb(150, 24, 123) |
| HSL | hsl(313, 72%, 34%) |
| HSV | hsv(313, 84%, 59%) |
| CMYK | cmyk(0%, 84%, 18%, 41.2%) |
| CIE-LAB | lab(35.14, 58.38, -24.60) |
| CIE-LCH | lch(35.14, 63.35, 337.15°) |
| OKLab | oklab(46.57% 0.1739 -0.0667) |
| OKLCH | oklch(46.57% 0.186 339) |
| XYZ | xyz(16.4799, 8.5690, 19.5211) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.59
Red Violet
#9E0168
ΔE00 4.98
Barney Purple
#A00498
ΔE00 5.32
Darkmagenta
#8B008B
ΔE00 5.56
Purple
#800080
ΔE00 6.35
Darkish Purple
#751973
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96187B #189633
analogous
#721896 #96187B #96183C
triadic
#96187B #7B9618 #187B96
tetradic
#96187B #967218 #189633 #183C96
square
#96187B #967218 #189633 #183C96
split-complementary
#96187B #3C9618 #189672
monochromatic
#2C0724 #611050 #96187B #CB20A6 #E247C0
Accessibility & contrast
On white
7.74
#96187B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#96187B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96187B
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96187B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96187B | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#4D5978
Tritanopia (blue-blind)
#9F1F4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #96187b; /* rgb */ color: rgb(150, 24, 123); /* oklch */ color: oklch(46.6% 0.186 339.0);
Tailwind
colors: {
custom: {
50: '#b967a1',
500: '#96187b',
950: '#000000',
},
}SCSS
$custom: #96187b; $custom-light: #b967a1; $custom-dark: #000000;
JSON
{
"hex": "#96187b",
"rgb": {
"r": 150,
"g": 24,
"b": 123
},
"hsl": {
"h": 312.857,
"s": 72.414,
"l": 34.118
},
"oklch": {
"l": 0.46572,
"c": 0.18627,
"h": 339
},
"luminance": 0.08567
}Semantic roles & 50–950 ramp
primary
#96187B
secondary
#47C362
accent
#EF6039
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E