#9E3371#9E3371
#9E3371 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.156 H 348.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3371 |
|---|---|
| RGB | rgb(158, 51, 113) |
| HSL | hsl(325, 51%, 41%) |
| HSV | hsv(325, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 28.5%, 38%) |
| CIE-LAB | lab(39.29, 50.20, -11.83) |
| CIE-LCH | lch(39.29, 51.58, 346.75°) |
| OKLab | oklab(49.72% 0.1525 -0.031) |
| OKLCH | oklch(49.72% 0.156 348.5) |
| XYZ | xyz(18.2658, 10.8309, 16.7482) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.11
Deep Magenta
#A0025C
ΔE00 5.95
Dark Fuchsia
#9D0759
ΔE00 6.30
Magenta (survey)
#C20078
ΔE00 6.42
Dark Magenta
#960056
ΔE00 7.13
Bruise
#7E4071
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3371 #339E60
analogous
#95339E #9E3371 #9E333B
triadic
#9E3371 #719E33 #33719E
tetradic
#9E3371 #9E9533 #339E60 #333B9E
square
#9E3371 #9E9533 #339E60 #333B9E
split-complementary
#9E3371 #3B9E33 #339E95
monochromatic
#41152F #702450 #9E3371 #C44A91 #D378AD
Accessibility & contrast
On white
6.63
#9E3371 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#9E3371 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3371
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3371 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#60636E
Tritanopia (blue-blind)
#A92F4D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9e3371; /* rgb */ color: rgb(158, 51, 113); /* oklch */ color: oklch(49.7% 0.156 348.5);
Tailwind
colors: {
custom: {
50: '#be7399',
500: '#9e3371',
950: '#000000',
},
}SCSS
$custom: #9e3371; $custom-light: #be7399; $custom-dark: #000000;
JSON
{
"hex": "#9e3371",
"rgb": {
"r": 158,
"g": 51,
"b": 113
},
"hsl": {
"h": 325.234,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.49717,
"c": 0.15557,
"h": 348.5
},
"luminance": 0.10829
}Semantic roles & 50–950 ramp
primary
#9E3371
secondary
#71BC90
accent
#DB894D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E