#9E1E7B#9E1E7B
#9E1E7B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.186 H 342.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E7B |
|---|---|
| RGB | rgb(158, 30, 123) |
| HSL | hsl(316, 68%, 37%) |
| HSV | hsv(316, 81%, 62%) |
| CMYK | cmyk(0%, 81%, 22.2%, 38%) |
| CIE-LAB | lab(37.17, 58.70, -21.33) |
| CIE-LCH | lch(37.17, 62.45, 340.03°) |
| OKLab | oklab(48.31% 0.1767 -0.0573) |
| OKLCH | oklch(48.31% 0.186 342) |
| XYZ | xyz(18.1406, 9.6296, 19.6384) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.20
Warm Purple
#952E8F
ΔE00 5.11
Barney Purple
#A00498
ΔE00 6.13
Deep Magenta
#A0025C
ΔE00 7.13
Darkmagenta
#8B008B
ΔE00 7.49
Magenta (survey)
#C20078
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E7B #1E9E41
analogous
#811E9E #9E1E7B #9E1E3B
triadic
#9E1E7B #7B9E1E #1E7B9E
tetradic
#9E1E7B #9E811E #1E9E41 #1E3B9E
square
#9E1E7B #9E811E #1E9E41 #1E3B9E
split-complementary
#9E1E7B #3B9E1E #1E9E81
monochromatic
#370A2B #6B1453 #9E1E7B #D128A3 #DF57BA
Accessibility & contrast
On white
7.18
#9E1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E1E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E7B
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E7B | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#555F78
Tritanopia (blue-blind)
#A8204B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1e7b; /* rgb */ color: rgb(158, 30, 123); /* oklch */ color: oklch(48.3% 0.186 342.0);
Tailwind
colors: {
custom: {
50: '#bf6aa1',
500: '#9e1e7b',
950: '#000000',
},
}SCSS
$custom: #9e1e7b; $custom-light: #bf6aa1; $custom-dark: #000000;
JSON
{
"hex": "#9e1e7b",
"rgb": {
"r": 158,
"g": 30,
"b": 123
},
"hsl": {
"h": 316.406,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.48308,
"c": 0.18574,
"h": 342
},
"luminance": 0.09628
}Semantic roles & 50–950 ramp
primary
#9E1E7B
secondary
#55C373
accent
#EB6C3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E