#9B1B7D#9B1B7D
#9B1B7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.188 H 340.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1B7D |
|---|---|
| RGB | rgb(155, 27, 125) |
| HSL | hsl(314, 70%, 36%) |
| HSV | hsv(314, 83%, 61%) |
| CMYK | cmyk(0%, 82.6%, 19.4%, 39.2%) |
| CIE-LAB | lab(36.43, 59.05, -23.77) |
| CIE-LCH | lch(36.43, 63.65, 338.08°) |
| OKLab | oklab(47.71% 0.1765 -0.0643) |
| OKLCH | oklch(47.71% 0.188 340) |
| XYZ | xyz(17.6117, 9.2349, 20.2531) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.44
Red Violet
#9E0168
ΔE00 4.79
Barney Purple
#A00498
ΔE00 5.29
Darkmagenta
#8B008B
ΔE00 6.35
Purple
#800080
ΔE00 7.39
Light Eggplant
#894585
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1B7D #1B9B39
analogous
#791B9B #9B1B7D #9B1B3D
triadic
#9B1B7D #7D9B1B #1B7D9B
tetradic
#9B1B7D #9B791B #1B9B39 #1B3D9B
square
#9B1B7D #9B791B #1B9B39 #1B3D9B
split-complementary
#9B1B7D #3D9B1B #1B9B79
monochromatic
#330929 #671253 #9B1B7D #CF24A7 #E050BF
Accessibility & contrast
On white
7.38
#9B1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9B1B7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1B7D
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1B7D | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A5204C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1b7d; /* rgb */ color: rgb(155, 27, 125); /* oklch */ color: oklch(47.7% 0.188 340.0);
Tailwind
colors: {
custom: {
50: '#bd69a3',
500: '#9b1b7d',
950: '#000000',
},
}SCSS
$custom: #9b1b7d; $custom-light: #bd69a3; $custom-dark: #000000;
JSON
{
"hex": "#9b1b7d",
"rgb": {
"r": 155,
"g": 27,
"b": 125
},
"hsl": {
"h": 314.063,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.47705,
"c": 0.18788,
"h": 340
},
"luminance": 0.09233
}Semantic roles & 50–950 ramp
primary
#9B1B7D
secondary
#4FC36A
accent
#ED653B
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F