#9B1B7E#9B1B7E
#9B1B7E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.189 H 339.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1B7E |
|---|---|
| RGB | rgb(155, 27, 126) |
| HSL | hsl(314, 70%, 36%) |
| HSV | hsv(314, 83%, 61%) |
| CMYK | cmyk(0%, 82.6%, 18.7%, 39.2%) |
| CIE-LAB | lab(36.48, 59.19, -24.31) |
| CIE-LCH | lch(36.48, 63.99, 337.67°) |
| OKLab | oklab(47.76% 0.1767 -0.0658) |
| OKLCH | oklch(47.76% 0.189 339.6) |
| XYZ | xyz(17.6759, 9.2606, 20.5912) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.26
Red Violet
#9E0168
ΔE00 4.99
Barney Purple
#A00498
ΔE00 5.08
Darkmagenta
#8B008B
ΔE00 6.19
Purple
#800080
ΔE00 7.27
Light Eggplant
#894585
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1B7E #1B9B38
analogous
#781B9B #9B1B7E #9B1B3E
triadic
#9B1B7E #7E9B1B #1B7E9B
tetradic
#9B1B7E #9B781B #1B9B38 #1B3E9B
square
#9B1B7E #9B781B #1B9B38 #1B3E9B
split-complementary
#9B1B7E #3E9B1B #1B9B78
monochromatic
#330929 #671254 #9B1B7E #CF24A8 #E050C0
Accessibility & contrast
On white
7.36
#9B1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9B1B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1B7E
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1B7E | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A4214C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1b7e; /* rgb */ color: rgb(155, 27, 126); /* oklch */ color: oklch(47.8% 0.189 339.6);
Tailwind
colors: {
custom: {
50: '#bd69a3',
500: '#9b1b7e',
950: '#000000',
},
}SCSS
$custom: #9b1b7e; $custom-light: #bd69a3; $custom-dark: #000000;
JSON
{
"hex": "#9b1b7e",
"rgb": {
"r": 155,
"g": 27,
"b": 126
},
"hsl": {
"h": 313.594,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.47756,
"c": 0.18853,
"h": 339.6
},
"luminance": 0.09259
}Semantic roles & 50–950 ramp
primary
#9B1B7E
secondary
#4FC369
accent
#ED633B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F