#9B1F86#9B1F86
#9B1F86 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.190 H 336.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F86 |
|---|---|
| RGB | rgb(155, 31, 134) |
| HSL | hsl(310, 67%, 36%) |
| HSV | hsv(310, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 13.5%, 39.2%) |
| CIE-LAB | lab(37.25, 59.27, -28.08) |
| CIE-LCH | lch(37.25, 65.58, 334.65°) |
| OKLab | oklab(48.44% 0.1742 -0.0766) |
| OKLCH | oklch(48.44% 0.19 336.3) |
| XYZ | xyz(18.3110, 9.6715, 23.4521) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.77
Barney Purple
#A00498
ΔE00 3.70
Darkmagenta
#8B008B
ΔE00 5.41
Red Violet
#9E0168
ΔE00 6.61
Purple
#800080
ΔE00 6.91
Light Eggplant
#894585
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F86 #1F9B34
analogous
#721F9B #9B1F86 #9B1F48
triadic
#9B1F86 #869B1F #1F869B
tetradic
#9B1F86 #9B721F #1F9B34 #1F489B
square
#9B1F86 #9B721F #1F9B34 #1F489B
split-complementary
#9B1F86 #489B1F #1F9B72
monochromatic
#350B2E #68155A #9B1F86 #CE29B2 #DD57C7
Accessibility & contrast
On white
7.16
#9B1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9B1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F86
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F86 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#A32952
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b1f86; /* rgb */ color: rgb(155, 31, 134); /* oklch */ color: oklch(48.4% 0.190 336.3);
Tailwind
colors: {
custom: {
50: '#bc6aa9',
500: '#9b1f86',
950: '#000000',
},
}SCSS
$custom: #9b1f86; $custom-light: #bc6aa9; $custom-dark: #000000;
JSON
{
"hex": "#9b1f86",
"rgb": {
"r": 155,
"g": 31,
"b": 134
},
"hsl": {
"h": 310.161,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.48435,
"c": 0.19032,
"h": 336.3
},
"luminance": 0.0967
}Semantic roles & 50–950 ramp
primary
#9B1F86
secondary
#55C167
accent
#EA5B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F