#9E316E#9E316E
#9E316E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.157 H 349.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9E316E |
|---|---|
| RGB | rgb(158, 49, 110) |
| HSL | hsl(326, 53%, 41%) |
| HSV | hsv(326, 69%, 62%) |
| CMYK | cmyk(0%, 69%, 30.4%, 38%) |
| CIE-LAB | lab(38.89, 50.62, -10.56) |
| CIE-LCH | lch(38.89, 51.72, 348.21°) |
| OKLab | oklab(49.38% 0.1542 -0.0276) |
| OKLCH | oklch(49.38% 0.157 349.9) |
| XYZ | xyz(18.0142, 10.5935, 15.8449) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.79
Deep Magenta
#A0025C
ΔE00 5.33
Dark Fuchsia
#9D0759
ΔE00 5.65
Magenta (survey)
#C20078
ΔE00 6.36
Dark Magenta
#960056
ΔE00 6.53
Violet Red
#A50055
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E316E #319E61
analogous
#97319E #9E316E #9E3137
triadic
#9E316E #6E9E31 #316E9E
tetradic
#9E316E #9E9731 #319E61 #31379E
square
#9E316E #9E9731 #319E61 #31379E
split-complementary
#9E316E #379E31 #319E97
monochromatic
#41142D #6F234D #9E316E #C6468E #D475AA
Accessibility & contrast
On white
6.73
#9E316E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E316E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E316E
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E316E | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414F70
Deuteranopia (green-blind)
#60636B
Tritanopia (blue-blind)
#A92C4B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e316e; /* rgb */ color: rgb(158, 49, 110); /* oklch */ color: oklch(49.4% 0.157 349.9);
Tailwind
colors: {
custom: {
50: '#be7197',
500: '#9e316e',
950: '#000000',
},
}SCSS
$custom: #9e316e; $custom-light: #be7197; $custom-dark: #000000;
JSON
{
"hex": "#9e316e",
"rgb": {
"r": 158,
"g": 49,
"b": 110
},
"hsl": {
"h": 326.422,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.49381,
"c": 0.15661,
"h": 349.9
},
"luminance": 0.10592
}Semantic roles & 50–950 ramp
primary
#9E316E
secondary
#6EBC91
accent
#DC8B4C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E