#9E2186#9E2186
#9E2186 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.190 H 337.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2186 |
|---|---|
| RGB | rgb(158, 33, 134) |
| HSL | hsl(312, 65%, 37%) |
| HSV | hsv(312, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 15.2%, 38%) |
| CIE-LAB | lab(37.99, 59.39, -26.89) |
| CIE-LCH | lch(37.99, 65.19, 335.64°) |
| OKLab | oklab(49.07% 0.1755 -0.0732) |
| OKLCH | oklch(49.07% 0.19 337.4) |
| XYZ | xyz(18.9479, 10.0799, 23.4973) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.04
Barney Purple
#A00498
ΔE00 4.10
Darkmagenta
#8B008B
ΔE00 6.19
Red Violet
#9E0168
ΔE00 6.40
Light Eggplant
#894585
ΔE00 6.83
Ugly Purple
#A442A0
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2186 #219E39
analogous
#78219E #9E2186 #9E2148
triadic
#9E2186 #869E21 #21869E
tetradic
#9E2186 #9E7821 #219E39 #21489E
square
#9E2186 #9E7821 #219E39 #21489E
split-complementary
#9E2186 #489E21 #219E78
monochromatic
#390C30 #6B165B #9E2186 #D12CB1 #DD5CC4
Accessibility & contrast
On white
6.96
#9E2186 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9E2186 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2186
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2186 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264D89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A72952
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e2186; /* rgb */ color: rgb(158, 33, 134); /* oklch */ color: oklch(49.1% 0.190 337.4);
Tailwind
colors: {
custom: {
50: '#bf6ba9',
500: '#9e2186',
950: '#000000',
},
}SCSS
$custom: #9e2186; $custom-light: #bf6ba9; $custom-dark: #000000;
JSON
{
"hex": "#9e2186",
"rgb": {
"r": 158,
"g": 33,
"b": 134
},
"hsl": {
"h": 311.52,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.49067,
"c": 0.1901,
"h": 337.4
},
"luminance": 0.10078
}Semantic roles & 50–950 ramp
primary
#9E2186
secondary
#59C16D
accent
#E8603F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F