#9E1A82#9E1A82
#9E1A82 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.194 H 338.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A82 |
|---|---|
| RGB | rgb(158, 26, 130) |
| HSL | hsl(313, 72%, 36%) |
| HSV | hsv(313, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 17.7%, 38%) |
| CIE-LAB | lab(37.15, 60.65, -25.71) |
| CIE-LCH | lch(37.15, 65.88, 337.03°) |
| OKLab | oklab(48.41% 0.1806 -0.0698) |
| OKLCH | oklch(48.41% 0.194 338.9) |
| XYZ | xyz(18.4997, 9.6215, 21.9976) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.87
Barney Purple
#A00498
ΔE00 4.48
Red Violet
#9E0168
ΔE00 5.54
Darkmagenta
#8B008B
ΔE00 6.13
Purple
#800080
ΔE00 7.46
Light Eggplant
#894585
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A82 #1A9E36
analogous
#781A9E #9E1A82 #9E1A40
triadic
#9E1A82 #829E1A #1A829E
tetradic
#9E1A82 #9E781A #1A9E36 #1A409E
square
#9E1A82 #9E781A #1A9E36 #1A409E
split-complementary
#9E1A82 #409E1A #1A9E78
monochromatic
#35092C #691157 #9E1A82 #D323AD #E250C3
Accessibility & contrast
On white
7.18
#9E1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9E1A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A82
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A82 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A7224E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1a82; /* rgb */ color: rgb(158, 26, 130); /* oklch */ color: oklch(48.4% 0.194 338.9);
Tailwind
colors: {
custom: {
50: '#bf69a6',
500: '#9e1a82',
950: '#000000',
},
}SCSS
$custom: #9e1a82; $custom-light: #bf69a6; $custom-dark: #000000;
JSON
{
"hex": "#9e1a82",
"rgb": {
"r": 158,
"g": 26,
"b": 130
},
"hsl": {
"h": 312.727,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.48406,
"c": 0.1936,
"h": 338.9
},
"luminance": 0.0962
}Semantic roles & 50–950 ramp
primary
#9E1A82
secondary
#4FC568
accent
#EE6039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F