#9B1A7E#9B1A7E
#9B1A7E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.189 H 339.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1A7E |
|---|---|
| RGB | rgb(155, 26, 126) |
| HSL | hsl(313, 71%, 35%) |
| HSV | hsv(313, 83%, 61%) |
| CMYK | cmyk(0%, 83.2%, 18.7%, 39.2%) |
| CIE-LAB | lab(36.40, 59.43, -24.45) |
| CIE-LCH | lch(36.40, 64.26, 337.64°) |
| OKLab | oklab(47.69% 0.1774 -0.0662) |
| OKLCH | oklch(47.69% 0.189 339.5) |
| XYZ | xyz(17.6534, 9.2155, 20.5837) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.28
Red Violet
#9E0168
ΔE00 4.99
Barney Purple
#A00498
ΔE00 5.04
Darkmagenta
#8B008B
ΔE00 6.12
Purple
#800080
ΔE00 7.20
Light Eggplant
#894585
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1A7E #1A9B37
analogous
#771A9B #9B1A7E #9B1A3E
triadic
#9B1A7E #7E9B1A #1A7E9B
tetradic
#9B1A7E #9B771A #1A9B37 #1A3E9B
square
#9B1A7E #9B771A #1A9B37 #1A3E9B
split-complementary
#9B1A7E #3E9B1A #1A9B77
monochromatic
#320829 #671153 #9B1A7E #CF23A9 #E14EC0
Accessibility & contrast
On white
7.39
#9B1A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9B1A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1A7E
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1A7E | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A4204C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1a7e; /* rgb */ color: rgb(155, 26, 126); /* oklch */ color: oklch(47.7% 0.189 339.5);
Tailwind
colors: {
custom: {
50: '#bd68a3',
500: '#9b1a7e',
950: '#000000',
},
}SCSS
$custom: #9b1a7e; $custom-light: #bd68a3; $custom-dark: #000000;
JSON
{
"hex": "#9b1a7e",
"rgb": {
"r": 155,
"g": 26,
"b": 126
},
"hsl": {
"h": 313.488,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.47694,
"c": 0.18935,
"h": 339.5
},
"luminance": 0.09214
}Semantic roles & 50–950 ramp
primary
#9B1A7E
secondary
#4DC468
accent
#EE623A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F