#9E1A84#9E1A84
#9E1A84 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.195 H 338.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A84 |
|---|---|
| RGB | rgb(158, 26, 132) |
| HSL | hsl(312, 72%, 36%) |
| HSV | hsv(312, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 16.5%, 38%) |
| CIE-LAB | lab(37.25, 60.93, -26.79) |
| CIE-LCH | lch(37.25, 66.56, 336.26°) |
| OKLab | oklab(48.51% 0.1808 -0.0728) |
| OKLCH | oklch(48.51% 0.195 338) |
| XYZ | xyz(18.6353, 9.6757, 22.7115) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.55
Barney Purple
#A00498
ΔE00 4.08
Darkmagenta
#8B008B
ΔE00 5.87
Red Violet
#9E0168
ΔE00 5.94
Purple
#800080
ΔE00 7.31
Light Eggplant
#894585
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A84 #1A9E34
analogous
#761A9E #9E1A84 #9E1A42
triadic
#9E1A84 #849E1A #1A849E
tetradic
#9E1A84 #9E761A #1A9E34 #1A429E
square
#9E1A84 #9E761A #1A9E34 #1A429E
split-complementary
#9E1A84 #429E1A #1A9E76
monochromatic
#35092C #691158 #9E1A84 #D323B0 #E250C5
Accessibility & contrast
On white
7.16
#9E1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E1A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A84
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A84 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A7234F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1a84; /* rgb */ color: rgb(158, 26, 132); /* oklch */ color: oklch(48.5% 0.195 338.0);
Tailwind
colors: {
custom: {
50: '#bf69a8',
500: '#9e1a84',
950: '#000000',
},
}SCSS
$custom: #9e1a84; $custom-light: #bf69a8; $custom-dark: #000000;
JSON
{
"hex": "#9e1a84",
"rgb": {
"r": 158,
"g": 26,
"b": 132
},
"hsl": {
"h": 311.818,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.4851,
"c": 0.19489,
"h": 338
},
"luminance": 0.09674
}Semantic roles & 50–950 ramp
primary
#9E1A84
secondary
#4FC566
accent
#EE5D39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F