#9E396E#9E396E
#9E396E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.145 H 351.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9E396E |
|---|---|
| RGB | rgb(158, 57, 110) |
| HSL | hsl(329, 47%, 42%) |
| HSV | hsv(329, 64%, 62%) |
| CMYK | cmyk(0%, 63.9%, 30.4%, 38%) |
| CIE-LAB | lab(40.12, 47.24, -8.71) |
| CIE-LCH | lch(40.12, 48.04, 349.55°) |
| OKLab | oklab(50.29% 0.1437 -0.0226) |
| OKLCH | oklch(50.29% 0.145 351.1) |
| XYZ | xyz(18.3790, 11.3231, 15.9665) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 6.39
Deep Magenta
#A0025C
ΔE00 6.41
Dark Fuchsia
#9D0759
ΔE00 6.63
Magenta (survey)
#C20078
ΔE00 6.81
Violet Red
#A50055
ΔE00 7.33
Bruise
#7E4071
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E396E #399E69
analogous
#9C399E #9E396E #9E393B
triadic
#9E396E #6E9E39 #396E9E
tetradic
#9E396E #9E9C39 #399E69 #393B9E
square
#9E396E #9E9C39 #399E69 #393B9E
split-complementary
#9E396E #3B9E39 #399E9C
monochromatic
#44192F #71294F #9E396E #C1538D #D180AB
Accessibility & contrast
On white
6.43
#9E396E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#9E396E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E396E
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E396E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E396E | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#A9344F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9e396e; /* rgb */ color: rgb(158, 57, 110); /* oklch */ color: oklch(50.3% 0.145 351.1);
Tailwind
colors: {
custom: {
50: '#be7697',
500: '#9e396e',
950: '#000000',
},
}SCSS
$custom: #9e396e; $custom-light: #be7697; $custom-dark: #000000;
JSON
{
"hex": "#9e396e",
"rgb": {
"r": 158,
"g": 57,
"b": 110
},
"hsl": {
"h": 328.515,
"s": 46.977,
"l": 42.157
},
"oklch": {
"l": 0.50289,
"c": 0.14541,
"h": 351.1
},
"luminance": 0.11321
}Semantic roles & 50–950 ramp
primary
#9E396E
secondary
#78BB98
accent
#D79151
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E