#9E397D#9E397D
#9E397D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.9% C 0.154 H 342.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9E397D |
|---|---|
| RGB | rgb(158, 57, 125) |
| HSL | hsl(320, 47%, 42%) |
| HSV | hsv(320, 64%, 62%) |
| CMYK | cmyk(0%, 63.9%, 20.9%, 38%) |
| CIE-LAB | lab(40.70, 49.32, -17.13) |
| CIE-LCH | lch(40.70, 52.21, 340.85°) |
| OKLab | oklab(50.91% 0.1476 -0.0458) |
| OKLCH | oklch(50.91% 0.154 342.8) |
| XYZ | xyz(19.2659, 11.6778, 20.6374) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.65
Warm Purple
#952E8F
ΔE00 6.28
Bruise
#7E4071
ΔE00 6.59
Red Violet
#9E0168
ΔE00 6.75
Ugly Purple
#A442A0
ΔE00 7.18
Purpleish
#98568D
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E397D #399E5A
analogous
#8D399E #9E397D #9E394A
triadic
#9E397D #7D9E39 #397D9E
tetradic
#9E397D #9E8D39 #399E5A #394A9E
square
#9E397D #9E8D39 #399E5A #394A9E
split-complementary
#9E397D #4A9E39 #399E8D
monochromatic
#441936 #712959 #9E397D #C1539D #D180B7
Accessibility & contrast
On white
6.30
#9E397D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#9E397D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E397D
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E397D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E397D | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#A83956
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9e397d; /* rgb */ color: rgb(158, 57, 125); /* oklch */ color: oklch(50.9% 0.154 342.8);
Tailwind
colors: {
custom: {
50: '#be76a2',
500: '#9e397d',
950: '#000000',
},
}SCSS
$custom: #9e397d; $custom-light: #be76a2; $custom-dark: #000000;
JSON
{
"hex": "#9e397d",
"rgb": {
"r": 158,
"g": 57,
"b": 125
},
"hsl": {
"h": 319.604,
"s": 46.977,
"l": 42.157
},
"oklch": {
"l": 0.50907,
"c": 0.15449,
"h": 342.8
},
"luminance": 0.11676
}Semantic roles & 50–950 ramp
primary
#9E397D
secondary
#78BB8E
accent
#D77D51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12090F
muted
#817B7F