#9B1B83#9B1B83
#9B1B83 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.192 H 337.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1B83 |
|---|---|
| RGB | rgb(155, 27, 131) |
| HSL | hsl(311, 70%, 36%) |
| HSV | hsv(311, 83%, 61%) |
| CMYK | cmyk(0%, 82.6%, 15.5%, 39.2%) |
| CIE-LAB | lab(36.73, 59.88, -27.03) |
| CIE-LCH | lch(36.73, 65.70, 335.70°) |
| OKLab | oklab(48.02% 0.1771 -0.0736) |
| OKLCH | oklch(48.02% 0.192 337.4) |
| XYZ | xyz(18.0066, 9.3929, 22.3330) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.40
Barney Purple
#A00498
ΔE00 4.07
Darkmagenta
#8B008B
ΔE00 5.46
Red Violet
#9E0168
ΔE00 6.00
Purple
#800080
ΔE00 6.81
Light Eggplant
#894585
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1B83 #1B9B33
analogous
#731B9B #9B1B83 #9B1B43
triadic
#9B1B83 #839B1B #1B839B
tetradic
#9B1B83 #9B731B #1B9B33 #1B439B
square
#9B1B83 #9B731B #1B9B33 #1B439B
split-complementary
#9B1B83 #439B1B #1B9B73
monochromatic
#33092B #671257 #9B1B83 #CF24AF #E050C5
Accessibility & contrast
On white
7.30
#9B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9B1B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1B83
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1B83 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A4244F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1b83; /* rgb */ color: rgb(155, 27, 131); /* oklch */ color: oklch(48.0% 0.192 337.4);
Tailwind
colors: {
custom: {
50: '#bd69a7',
500: '#9b1b83',
950: '#000000',
},
}SCSS
$custom: #9b1b83; $custom-light: #bd69a7; $custom-dark: #000000;
JSON
{
"hex": "#9b1b83",
"rgb": {
"r": 155,
"g": 27,
"b": 131
},
"hsl": {
"h": 311.25,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.48015,
"c": 0.19181,
"h": 337.4
},
"luminance": 0.09391
}Semantic roles & 50–950 ramp
primary
#9B1B83
secondary
#4FC365
accent
#ED5C3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F