#9E337A#9E337A
#9E337A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.161 H 343.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9E337A |
|---|---|
| RGB | rgb(158, 51, 122) |
| HSL | hsl(320, 51%, 41%) |
| HSV | hsv(320, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 22.8%, 38%) |
| CIE-LAB | lab(39.65, 51.43, -16.88) |
| CIE-LCH | lch(39.65, 54.12, 341.83°) |
| OKLab | oklab(50.1% 0.1546 -0.045) |
| OKLCH | oklch(50.1% 0.161 343.8) |
| XYZ | xyz(18.7979, 11.0437, 19.5502) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.61
Warm Purple
#952E8F
ΔE00 6.23
Light Eggplant
#894585
ΔE00 6.27
Bruise
#7E4071
ΔE00 6.76
Magenta (survey)
#C20078
ΔE00 6.85
Mediumvioletred
#C71585
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E337A #339E57
analogous
#8C339E #9E337A #9E3344
triadic
#9E337A #7A9E33 #337A9E
tetradic
#9E337A #9E8C33 #339E57 #33449E
square
#9E337A #9E8C33 #339E57 #33449E
split-complementary
#9E337A #449E33 #339E8C
monochromatic
#411533 #702456 #9E337A #C44A9B #D378B5
Accessibility & contrast
On white
6.55
#9E337A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9E337A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E337A
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E337A | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#A83352
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9e337a; /* rgb */ color: rgb(158, 51, 122); /* oklch */ color: oklch(50.1% 0.161 343.8);
Tailwind
colors: {
custom: {
50: '#be73a0',
500: '#9e337a',
950: '#000000',
},
}SCSS
$custom: #9e337a; $custom-light: #be73a0; $custom-dark: #000000;
JSON
{
"hex": "#9e337a",
"rgb": {
"r": 158,
"g": 51,
"b": 122
},
"hsl": {
"h": 320.187,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.50099,
"c": 0.16104,
"h": 343.8
},
"luminance": 0.11042
}Semantic roles & 50–950 ramp
primary
#9E337A
secondary
#71BC8A
accent
#DB7D4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E