#9E337E#9E337E
#9E337E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.164 H 341.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9E337E |
|---|---|
| RGB | rgb(158, 51, 126) |
| HSL | hsl(318, 51%, 41%) |
| HSV | hsv(318, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 20.3%, 38%) |
| CIE-LAB | lab(39.82, 52.00, -19.09) |
| CIE-LCH | lch(39.82, 55.39, 339.84°) |
| OKLab | oklab(50.28% 0.1555 -0.0512) |
| OKLCH | oklch(50.28% 0.164 341.8) |
| XYZ | xyz(19.0508, 11.1449, 20.8825) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.34
Light Eggplant
#894585
ΔE00 5.76
Red Violet
#9E0168
ΔE00 6.07
Bruise
#7E4071
ΔE00 6.80
Ugly Purple
#A442A0
ΔE00 7.05
Magenta (survey)
#C20078
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E337E #339E53
analogous
#88339E #9E337E #9E3348
triadic
#9E337E #7E9E33 #337E9E
tetradic
#9E337E #9E8833 #339E53 #33489E
square
#9E337E #9E8833 #339E53 #33489E
split-complementary
#9E337E #489E33 #339E88
monochromatic
#411534 #702459 #9E337E #C44AA0 #D378B8
Accessibility & contrast
On white
6.50
#9E337E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#9E337E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E337E
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E337E | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#A83454
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9e337e; /* rgb */ color: rgb(158, 51, 126); /* oklch */ color: oklch(50.3% 0.164 341.8);
Tailwind
colors: {
custom: {
50: '#be73a3',
500: '#9e337e',
950: '#000000',
},
}SCSS
$custom: #9e337e; $custom-light: #be73a3; $custom-dark: #000000;
JSON
{
"hex": "#9e337e",
"rgb": {
"r": 158,
"g": 51,
"b": 126
},
"hsl": {
"h": 317.944,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.50279,
"c": 0.16366,
"h": 341.8
},
"luminance": 0.11143
}Semantic roles & 50–950 ramp
primary
#9E337E
secondary
#71BC87
accent
#DB774D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F