#9B1F82#9B1F82
#9B1F82 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.188 H 337.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F82 |
|---|---|
| RGB | rgb(155, 31, 130) |
| HSL | hsl(312, 67%, 36%) |
| HSV | hsv(312, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 16.1%, 39.2%) |
| CIE-LAB | lab(37.04, 58.69, -25.92) |
| CIE-LCH | lch(37.04, 64.16, 336.17°) |
| OKLab | oklab(48.22% 0.1739 -0.0704) |
| OKLCH | oklch(48.22% 0.188 337.9) |
| XYZ | xyz(18.0372, 9.5620, 22.0105) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.43
Barney Purple
#A00498
ΔE00 4.47
Red Violet
#9E0168
ΔE00 5.82
Darkmagenta
#8B008B
ΔE00 5.91
Light Eggplant
#894585
ΔE00 6.97
Purple
#800080
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F82 #1F9B38
analogous
#761F9B #9B1F82 #9B1F44
triadic
#9B1F82 #829B1F #1F829B
tetradic
#9B1F82 #9B761F #1F9B38 #1F449B
square
#9B1F82 #9B761F #1F9B38 #1F449B
split-complementary
#9B1F82 #449B1F #1F9B76
monochromatic
#350B2C #681557 #9B1F82 #CE29AD #DD57C2
Accessibility & contrast
On white
7.21
#9B1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9B1F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F82
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F82 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A4274F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9b1f82; /* rgb */ color: rgb(155, 31, 130); /* oklch */ color: oklch(48.2% 0.188 337.9);
Tailwind
colors: {
custom: {
50: '#bc6aa6',
500: '#9b1f82',
950: '#000000',
},
}SCSS
$custom: #9b1f82; $custom-light: #bc6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9b1f82",
"rgb": {
"r": 155,
"g": 31,
"b": 130
},
"hsl": {
"h": 312.097,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.48224,
"c": 0.1876,
"h": 337.9
},
"luminance": 0.0956
}Semantic roles & 50–950 ramp
primary
#9B1F82
secondary
#55C16B
accent
#EA613E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F