#9B1A7B#9B1A7B
#9B1A7B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.187 H 340.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1A7B |
|---|---|
| RGB | rgb(155, 26, 123) |
| HSL | hsl(315, 71%, 35%) |
| HSV | hsv(315, 83%, 61%) |
| CMYK | cmyk(0%, 83.2%, 20.6%, 39.2%) |
| CIE-LAB | lab(36.25, 59.03, -22.80) |
| CIE-LCH | lch(36.25, 63.28, 338.88°) |
| OKLab | oklab(47.54% 0.1771 -0.0615) |
| OKLCH | oklch(47.54% 0.187 340.8) |
| XYZ | xyz(17.4627, 9.1393, 19.5795) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.37
Warm Purple
#952E8F
ΔE00 4.84
Barney Purple
#A00498
ΔE00 5.67
Darkmagenta
#8B008B
ΔE00 6.62
Deep Magenta
#A0025C
ΔE00 7.48
Purple
#800080
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1A7B #1A9B3A
analogous
#7B1A9B #9B1A7B #9B1A3A
triadic
#9B1A7B #7B9B1A #1A7B9B
tetradic
#9B1A7B #9B7B1A #1A9B3A #1A3A9B
square
#9B1A7B #9B7B1A #1A9B3A #1A3A9B
split-complementary
#9B1A7B #3A9B1A #1A9B7B
monochromatic
#320828 #671151 #9B1A7B #CF23A5 #E14EBD
Accessibility & contrast
On white
7.43
#9B1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9B1A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1A7B
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1A7B | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#A51E4A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9b1a7b; /* rgb */ color: rgb(155, 26, 123); /* oklch */ color: oklch(47.5% 0.187 340.8);
Tailwind
colors: {
custom: {
50: '#bd68a1',
500: '#9b1a7b',
950: '#000000',
},
}SCSS
$custom: #9b1a7b; $custom-light: #bd68a1; $custom-dark: #000000;
JSON
{
"hex": "#9b1a7b",
"rgb": {
"r": 155,
"g": 26,
"b": 123
},
"hsl": {
"h": 314.884,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.47543,
"c": 0.18745,
"h": 340.8
},
"luminance": 0.09137
}Semantic roles & 50–950 ramp
primary
#9B1A7B
secondary
#4DC46B
accent
#EE663A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E