#9D397F#9D397F
#9D397F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.155 H 341.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9D397F |
|---|---|
| RGB | rgb(157, 57, 127) |
| HSL | hsl(318, 47%, 42%) |
| HSV | hsv(318, 64%, 62%) |
| CMYK | cmyk(0%, 63.7%, 19.1%, 38.4%) |
| CIE-LAB | lab(40.62, 49.32, -18.50) |
| CIE-LCH | lch(40.62, 52.68, 339.44°) |
| OKLab | oklab(50.84% 0.1469 -0.0496) |
| OKLCH | oklch(50.84% 0.155 341.3) |
| XYZ | xyz(19.1990, 11.6284, 21.3079) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.19
Warm Purple
#952E8F
ΔE00 5.69
Bruise
#7E4071
ΔE00 6.45
Ugly Purple
#A442A0
ΔE00 6.70
Red Violet
#9E0168
ΔE00 6.96
Purpleish
#98568D
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D397F #399D57
analogous
#89399D #9D397F #9D394D
triadic
#9D397F #7F9D39 #397F9D
tetradic
#9D397F #9D8939 #399D57 #394D9D
square
#9D397F #9D8939 #399D57 #394D9D
split-complementary
#9D397F #4D9D39 #399D89
monochromatic
#431836 #70295B #9D397F #C053A0 #D180B8
Accessibility & contrast
On white
6.32
#9D397F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#9D397F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D397F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D397F | 1.00 | 6.32 | 3.33 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#5D667D
Tritanopia (blue-blind)
#A63A57
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9d397f; /* rgb */ color: rgb(157, 57, 127); /* oklch */ color: oklch(50.8% 0.155 341.3);
Tailwind
colors: {
custom: {
50: '#bd76a4',
500: '#9d397f',
950: '#000000',
},
}SCSS
$custom: #9d397f; $custom-light: #bd76a4; $custom-dark: #000000;
JSON
{
"hex": "#9d397f",
"rgb": {
"r": 157,
"g": 57,
"b": 127
},
"hsl": {
"h": 318,
"s": 46.729,
"l": 41.961
},
"oklch": {
"l": 0.50843,
"c": 0.15509,
"h": 341.3
},
"luminance": 0.11627
}Semantic roles & 50–950 ramp
primary
#9D397F
secondary
#78BA8C
accent
#D67951
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12090F
muted
#817B7F