#9A1B7E#9A1B7E
#9A1B7E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.188 H 339.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1B7E |
|---|---|
| RGB | rgb(154, 27, 126) |
| HSL | hsl(313, 70%, 35%) |
| HSV | hsv(313, 82%, 60%) |
| CMYK | cmyk(0%, 82.5%, 18.2%, 39.6%) |
| CIE-LAB | lab(36.29, 58.96, -24.62) |
| CIE-LCH | lch(36.29, 63.89, 337.34°) |
| OKLab | oklab(47.59% 0.1757 -0.0667) |
| OKLCH | oklch(47.59% 0.188 339.2) |
| XYZ | xyz(17.4847, 9.1620, 20.5822) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.18
Barney Purple
#A00498
ΔE00 5.01
Red Violet
#9E0168
ΔE00 5.09
Darkmagenta
#8B008B
ΔE00 6.00
Purple
#800080
ΔE00 7.06
Light Eggplant
#894585
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1B7E #1B9A37
analogous
#761B9A #9A1B7E #9A1B3F
triadic
#9A1B7E #7E9A1B #1B7E9A
tetradic
#9A1B7E #9A761B #1B9A37 #1B3F9A
square
#9A1B7E #9A761B #1B9A37 #1B3F9A
split-complementary
#9A1B7E #3F9A1B #1B9A76
monochromatic
#320929 #661253 #9A1B7E #CE24A9 #E04FC0
Accessibility & contrast
On white
7.42
#9A1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9A1B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1B7E
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1B7E | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A3224C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9a1b7e; /* rgb */ color: rgb(154, 27, 126); /* oklch */ color: oklch(47.6% 0.188 339.2);
Tailwind
colors: {
custom: {
50: '#bc68a3',
500: '#9a1b7e',
950: '#000000',
},
}SCSS
$custom: #9a1b7e; $custom-light: #bc68a3; $custom-dark: #000000;
JSON
{
"hex": "#9a1b7e",
"rgb": {
"r": 154,
"g": 27,
"b": 126
},
"hsl": {
"h": 313.228,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.47587,
"c": 0.18796,
"h": 339.2
},
"luminance": 0.0916
}Semantic roles & 50–950 ramp
primary
#9A1B7E
secondary
#4EC368
accent
#ED623B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F