#9E337D#9E337D
#9E337D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.163 H 342.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9E337D |
|---|---|
| RGB | rgb(158, 51, 125) |
| HSL | hsl(319, 51%, 41%) |
| HSV | hsv(319, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 20.9%, 38%) |
| CIE-LAB | lab(39.78, 51.85, -18.54) |
| CIE-LCH | lch(39.78, 55.07, 340.33°) |
| OKLab | oklab(50.23% 0.1553 -0.0496) |
| OKLCH | oklch(50.23% 0.163 342.3) |
| XYZ | xyz(18.9866, 11.1192, 20.5444) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.56
Light Eggplant
#894585
ΔE00 5.87
Red Violet
#9E0168
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.78
Magenta (survey)
#C20078
ΔE00 7.13
Ugly Purple
#A442A0
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E337D #339E54
analogous
#89339E #9E337D #9E3347
triadic
#9E337D #7D9E33 #337D9E
tetradic
#9E337D #9E8933 #339E54 #33479E
square
#9E337D #9E8933 #339E54 #33479E
split-complementary
#9E337D #479E33 #339E89
monochromatic
#411534 #702458 #9E337D #C44A9F #D378B7
Accessibility & contrast
On white
6.51
#9E337D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#9E337D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E337D
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E337D | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#A83453
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9e337d; /* rgb */ color: rgb(158, 51, 125); /* oklch */ color: oklch(50.2% 0.163 342.3);
Tailwind
colors: {
custom: {
50: '#be73a2',
500: '#9e337d',
950: '#000000',
},
}SCSS
$custom: #9e337d; $custom-light: #be73a2; $custom-dark: #000000;
JSON
{
"hex": "#9e337d",
"rgb": {
"r": 158,
"g": 51,
"b": 125
},
"hsl": {
"h": 318.505,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.50233,
"c": 0.163,
"h": 342.3
},
"luminance": 0.11117
}Semantic roles & 50–950 ramp
primary
#9E337D
secondary
#71BC88
accent
#DB794D
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F