#9B1C7E#9B1C7E
#9B1C7E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.188 H 339.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1C7E |
|---|---|
| RGB | rgb(155, 28, 126) |
| HSL | hsl(314, 69%, 36%) |
| HSV | hsv(314, 82%, 61%) |
| CMYK | cmyk(0%, 81.9%, 18.7%, 39.2%) |
| CIE-LAB | lab(36.57, 58.93, -24.18) |
| CIE-LCH | lch(36.57, 63.70, 337.69°) |
| OKLab | oklab(47.82% 0.1759 -0.0654) |
| OKLCH | oklch(47.82% 0.188 339.6) |
| XYZ | xyz(17.6992, 9.3072, 20.5990) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.23
Red Violet
#9E0168
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.13
Darkmagenta
#8B008B
ΔE00 6.26
Purple
#800080
ΔE00 7.35
Light Eggplant
#894585
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1C7E #1C9B39
analogous
#781C9B #9B1C7E #9B1C3E
triadic
#9B1C7E #7E9B1C #1C7E9B
tetradic
#9B1C7E #9B781C #1C9B39 #1C3E9B
square
#9B1C7E #9B781C #1C9B39 #1C3E9B
split-complementary
#9B1C7E #3E9B1C #1C9B78
monochromatic
#33092A #671354 #9B1C7E #CF25A8 #E052BF
Accessibility & contrast
On white
7.34
#9B1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9B1C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1C7E
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1C7E | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A4224C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1c7e; /* rgb */ color: rgb(155, 28, 126); /* oklch */ color: oklch(47.8% 0.188 339.6);
Tailwind
colors: {
custom: {
50: '#bd69a3',
500: '#9b1c7e',
950: '#000000',
},
}SCSS
$custom: #9b1c7e; $custom-light: #bd69a3; $custom-dark: #000000;
JSON
{
"hex": "#9b1c7e",
"rgb": {
"r": 155,
"g": 28,
"b": 126
},
"hsl": {
"h": 313.701,
"s": 69.399,
"l": 35.882
},
"oklch": {
"l": 0.47819,
"c": 0.18767,
"h": 339.6
},
"luminance": 0.09305
}Semantic roles & 50–950 ramp
primary
#9B1C7E
secondary
#50C36A
accent
#EC643C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F