#9E3071#9E3071
#9E3071 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.160 H 348.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3071 |
|---|---|
| RGB | rgb(158, 48, 113) |
| HSL | hsl(325, 53%, 40%) |
| HSV | hsv(325, 70%, 62%) |
| CMYK | cmyk(0%, 69.6%, 28.5%, 38%) |
| CIE-LAB | lab(38.86, 51.41, -12.49) |
| CIE-LCH | lch(38.86, 52.90, 346.35°) |
| OKLab | oklab(49.4% 0.1562 -0.0328) |
| OKLCH | oklch(49.4% 0.16 348.1) |
| XYZ | xyz(18.1390, 10.5772, 16.7059) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.59
Deep Magenta
#A0025C
ΔE00 5.66
Dark Fuchsia
#9D0759
ΔE00 6.05
Magenta (survey)
#C20078
ΔE00 6.35
Dark Magenta
#960056
ΔE00 6.82
Bruise
#7E4071
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3071 #309E5D
analogous
#94309E #9E3071 #9E303A
triadic
#9E3071 #719E30 #30719E
tetradic
#9E3071 #9E9430 #309E5D #303A9E
square
#9E3071 #9E9430 #309E5D #303A9E
split-complementary
#9E3071 #3A9E30 #309E94
monochromatic
#40132E #6F224F #9E3071 #C64591 #D574AD
Accessibility & contrast
On white
6.74
#9E3071 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E3071 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3071
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3071 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#5F636E
Tritanopia (blue-blind)
#A92C4C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e3071; /* rgb */ color: rgb(158, 48, 113); /* oklch */ color: oklch(49.4% 0.160 348.1);
Tailwind
colors: {
custom: {
50: '#be7199',
500: '#9e3071',
950: '#000000',
},
}SCSS
$custom: #9e3071; $custom-light: #be7199; $custom-dark: #000000;
JSON
{
"hex": "#9e3071",
"rgb": {
"r": 158,
"g": 48,
"b": 113
},
"hsl": {
"h": 324.545,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.49398,
"c": 0.1596,
"h": 348.1
},
"luminance": 0.10575
}Semantic roles & 50–950 ramp
primary
#9E3071
secondary
#6DBD8E
accent
#DD874B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E