#9D387F#9D387F
#9D387F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.157 H 341.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9D387F |
|---|---|
| RGB | rgb(157, 56, 127) |
| HSL | hsl(318, 47%, 42%) |
| HSV | hsv(318, 64%, 62%) |
| CMYK | cmyk(0%, 64.3%, 19.1%, 38.4%) |
| CIE-LAB | lab(40.46, 49.76, -18.74) |
| CIE-LCH | lch(40.46, 53.17, 339.36°) |
| OKLab | oklab(50.73% 0.1483 -0.0503) |
| OKLCH | oklch(50.73% 0.157 341.3) |
| XYZ | xyz(19.1500, 11.5305, 21.2916) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.23
Warm Purple
#952E8F
ΔE00 5.55
Bruise
#7E4071
ΔE00 6.48
Ugly Purple
#A442A0
ΔE00 6.71
Red Violet
#9E0168
ΔE00 6.82
Purpleish
#98568D
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D387F #389D56
analogous
#89389D #9D387F #9D384D
triadic
#9D387F #7F9D38 #387F9D
tetradic
#9D387F #9D8938 #389D56 #384D9D
square
#9D387F #9D8938 #389D56 #384D9D
split-complementary
#9D387F #4D9D38 #389D89
monochromatic
#431836 #70285B #9D387F #C151A0 #D17EB9
Accessibility & contrast
On white
6.35
#9D387F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#9D387F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D387F
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D387F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D387F | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#5D657D
Tritanopia (blue-blind)
#A63A56
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9d387f; /* rgb */ color: rgb(157, 56, 127); /* oklch */ color: oklch(50.7% 0.157 341.3);
Tailwind
colors: {
custom: {
50: '#bd75a4',
500: '#9d387f',
950: '#000000',
},
}SCSS
$custom: #9d387f; $custom-light: #bd75a4; $custom-dark: #000000;
JSON
{
"hex": "#9d387f",
"rgb": {
"r": 157,
"g": 56,
"b": 127
},
"hsl": {
"h": 317.822,
"s": 47.418,
"l": 41.765
},
"oklch": {
"l": 0.50726,
"c": 0.15655,
"h": 341.3
},
"luminance": 0.11529
}Semantic roles & 50–950 ramp
primary
#9D387F
secondary
#76BA8B
accent
#D77951
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12090F
muted
#817B7F