#9E1E7F#9E1E7F
#9E1E7F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.188 H 340.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E7F |
|---|---|
| RGB | rgb(158, 30, 127) |
| HSL | hsl(315, 68%, 37%) |
| HSV | hsv(315, 81%, 62%) |
| CMYK | cmyk(0%, 81%, 19.6%, 38%) |
| CIE-LAB | lab(37.36, 59.24, -23.53) |
| CIE-LCH | lch(37.36, 63.74, 338.34°) |
| OKLab | oklab(48.5% 0.1772 -0.0636) |
| OKLCH | oklch(48.5% 0.188 340.3) |
| XYZ | xyz(18.3962, 9.7319, 20.9842) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.33
Red Violet
#9E0168
ΔE00 4.98
Barney Purple
#A00498
ΔE00 5.29
Darkmagenta
#8B008B
ΔE00 6.85
Light Eggplant
#894585
ΔE00 7.30
Magenta (survey)
#C20078
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E7F #1E9E3D
analogous
#7D1E9E #9E1E7F #9E1E3F
triadic
#9E1E7F #7F9E1E #1E7F9E
tetradic
#9E1E7F #9E7D1E #1E9E3D #1E3F9E
square
#9E1E7F #9E7D1E #1E9E3D #1E3F9E
split-complementary
#9E1E7F #3F9E1E #1E9E7D
monochromatic
#370A2C #6B1456 #9E1E7F #D128A8 #DF57BE
Accessibility & contrast
On white
7.13
#9E1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9E1E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E7F
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E7F | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A8234D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1e7f; /* rgb */ color: rgb(158, 30, 127); /* oklch */ color: oklch(48.5% 0.188 340.3);
Tailwind
colors: {
custom: {
50: '#bf6aa4',
500: '#9e1e7f',
950: '#000000',
},
}SCSS
$custom: #9e1e7f; $custom-light: #bf6aa4; $custom-dark: #000000;
JSON
{
"hex": "#9e1e7f",
"rgb": {
"r": 158,
"g": 30,
"b": 127
},
"hsl": {
"h": 314.531,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.48504,
"c": 0.18827,
"h": 340.3
},
"luminance": 0.0973
}Semantic roles & 50–950 ramp
primary
#9E1E7F
secondary
#55C370
accent
#EB673D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F