#9B1B84#9B1B84
#9B1B84 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.192 H 337.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1B84 |
|---|---|
| RGB | rgb(155, 27, 132) |
| HSL | hsl(311, 70%, 36%) |
| HSV | hsv(311, 83%, 61%) |
| CMYK | cmyk(0%, 82.6%, 14.8%, 39.2%) |
| CIE-LAB | lab(36.78, 60.02, -27.58) |
| CIE-LCH | lch(36.78, 66.06, 335.33°) |
| OKLab | oklab(48.07% 0.1772 -0.0751) |
| OKLCH | oklch(48.07% 0.192 337) |
| XYZ | xyz(18.0747, 9.4201, 22.6917) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.25
Barney Purple
#A00498
ΔE00 3.87
Darkmagenta
#8B008B
ΔE00 5.33
Red Violet
#9E0168
ΔE00 6.20
Purple
#800080
ΔE00 6.73
Light Eggplant
#894585
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1B84 #1B9B32
analogous
#721B9B #9B1B84 #9B1B44
triadic
#9B1B84 #849B1B #1B849B
tetradic
#9B1B84 #9B721B #1B9B32 #1B449B
square
#9B1B84 #9B721B #1B9B32 #1B449B
split-complementary
#9B1B84 #449B1B #1B9B72
monochromatic
#33092B #671258 #9B1B84 #CF24B0 #E050C7
Accessibility & contrast
On white
7.28
#9B1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9B1B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1B84
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1B84 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204A87
Deuteranopia (green-blind)
#4F5D81
Tritanopia (blue-blind)
#A42550
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9b1b84; /* rgb */ color: rgb(155, 27, 132); /* oklch */ color: oklch(48.1% 0.192 337.0);
Tailwind
colors: {
custom: {
50: '#bc69a8',
500: '#9b1b84',
950: '#000000',
},
}SCSS
$custom: #9b1b84; $custom-light: #bc69a8; $custom-dark: #000000;
JSON
{
"hex": "#9b1b84",
"rgb": {
"r": 155,
"g": 27,
"b": 132
},
"hsl": {
"h": 310.781,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.48068,
"c": 0.19248,
"h": 337
},
"luminance": 0.09418
}Semantic roles & 50–950 ramp
primary
#9B1B84
secondary
#4FC364
accent
#ED5B3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F