#9E1883#9E1883
#9E1883 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 338.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1883 |
|---|---|
| RGB | rgb(158, 24, 131) |
| HSL | hsl(312, 74%, 36%) |
| HSV | hsv(312, 85%, 62%) |
| CMYK | cmyk(0%, 84.8%, 17.1%, 38%) |
| CIE-LAB | lab(37.05, 61.25, -26.50) |
| CIE-LCH | lch(37.05, 66.73, 336.60°) |
| OKLab | oklab(48.35% 0.1821 -0.072) |
| OKLCH | oklch(48.35% 0.196 338.4) |
| XYZ | xyz(18.5244, 9.5629, 22.3386) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.76
Barney Purple
#A00498
ΔE00 4.20
Red Violet
#9E0168
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 5.87
Purple
#800080
ΔE00 7.25
Light Eggplant
#894585
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1883 #189E33
analogous
#76189E #9E1883 #9E1840
triadic
#9E1883 #839E18 #18839E
tetradic
#9E1883 #9E7618 #189E33 #18409E
square
#9E1883 #9E7618 #189E33 #18409E
split-complementary
#9E1883 #409E18 #189E76
monochromatic
#34082B #691057 #9E1883 #D320AF #E44DC5
Accessibility & contrast
On white
7.21
#9E1883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9E1883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1883
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1883 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#A7214E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1883; /* rgb */ color: rgb(158, 24, 131); /* oklch */ color: oklch(48.3% 0.196 338.4);
Tailwind
colors: {
custom: {
50: '#bf68a7',
500: '#9e1883',
950: '#000000',
},
}SCSS
$custom: #9e1883; $custom-light: #bf68a7; $custom-dark: #000000;
JSON
{
"hex": "#9e1883",
"rgb": {
"r": 158,
"g": 24,
"b": 131
},
"hsl": {
"h": 312.09,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.48345,
"c": 0.19578,
"h": 338.4
},
"luminance": 0.09561
}Semantic roles & 50–950 ramp
primary
#9E1883
secondary
#4CC665
accent
#F05D38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F