#9B1A82#9B1A82
#9B1A82 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.192 H 337.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1A82 |
|---|---|
| RGB | rgb(155, 26, 130) |
| HSL | hsl(312, 71%, 35%) |
| HSV | hsv(312, 83%, 61%) |
| CMYK | cmyk(0%, 83.2%, 16.1%, 39.2%) |
| CIE-LAB | lab(36.59, 59.99, -26.63) |
| CIE-LCH | lch(36.59, 65.63, 336.07°) |
| OKLab | oklab(47.9% 0.1778 -0.0724) |
| OKLCH | oklch(47.9% 0.192 337.8) |
| XYZ | xyz(17.9167, 9.3208, 21.9703) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.60
Barney Purple
#A00498
ΔE00 4.23
Darkmagenta
#8B008B
ΔE00 5.52
Red Violet
#9E0168
ΔE00 5.80
Purple
#800080
ΔE00 6.82
Light Eggplant
#894585
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1A82 #1A9B33
analogous
#731A9B #9B1A82 #9B1A41
triadic
#9B1A82 #829B1A #1A829B
tetradic
#9B1A82 #9B731A #1A9B33 #1A419B
square
#9B1A82 #9B731A #1A9B33 #1A419B
split-complementary
#9B1A82 #419B1A #1A9B73
monochromatic
#32082A #671156 #9B1A82 #CF23AE #E14EC5
Accessibility & contrast
On white
7.33
#9B1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9B1A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1A82
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1A82 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A4234E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1a82; /* rgb */ color: rgb(155, 26, 130); /* oklch */ color: oklch(47.9% 0.192 337.8);
Tailwind
colors: {
custom: {
50: '#bd69a6',
500: '#9b1a82',
950: '#000000',
},
}SCSS
$custom: #9b1a82; $custom-light: #bd69a6; $custom-dark: #000000;
JSON
{
"hex": "#9b1a82",
"rgb": {
"r": 155,
"g": 26,
"b": 130
},
"hsl": {
"h": 311.628,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.47902,
"c": 0.19197,
"h": 337.8
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#9B1A82
secondary
#4DC464
accent
#EE5D3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F