#9E1682#9E1682
#9E1682 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 338.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1682 |
|---|---|
| RGB | rgb(158, 22, 130) |
| HSL | hsl(312, 76%, 35%) |
| HSV | hsv(312, 86%, 62%) |
| CMYK | cmyk(0%, 86.1%, 17.7%, 38%) |
| CIE-LAB | lab(36.85, 61.54, -26.19) |
| CIE-LCH | lch(36.85, 66.88, 336.95°) |
| OKLab | oklab(48.19% 0.1833 -0.0711) |
| OKLCH | oklch(48.19% 0.197 338.8) |
| XYZ | xyz(18.4172, 9.4565, 21.9701) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.98
Barney Purple
#A00498
ΔE00 4.33
Red Violet
#9E0168
ΔE00 5.54
Darkmagenta
#8B008B
ΔE00 5.89
Purple
#800080
ΔE00 7.22
Light Eggplant
#894585
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1682 #169E32
analogous
#76169E #9E1682 #9E163E
triadic
#9E1682 #829E16 #16829E
tetradic
#9E1682 #9E7616 #169E32 #163E9E
square
#9E1682 #9E7616 #169E32 #163E9E
split-complementary
#9E1682 #3E9E16 #169E76
monochromatic
#33072A #680F56 #9E1682 #D41DAE #E649C5
Accessibility & contrast
On white
7.26
#9E1682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E1682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1682
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1682 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204A85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A71F4D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1682; /* rgb */ color: rgb(158, 22, 130); /* oklch */ color: oklch(48.2% 0.197 338.8);
Tailwind
colors: {
custom: {
50: '#bf68a6',
500: '#9e1682',
950: '#000000',
},
}SCSS
$custom: #9e1682; $custom-light: #bf68a6; $custom-dark: #000000;
JSON
{
"hex": "#9e1682",
"rgb": {
"r": 158,
"g": 22,
"b": 130
},
"hsl": {
"h": 312.353,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.48187,
"c": 0.19658,
"h": 338.8
},
"luminance": 0.09455
}Semantic roles & 50–950 ramp
primary
#9E1682
secondary
#49C763
accent
#F25C36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F