#9D387C#9D387C
#9D387C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.6% C 0.154 H 342.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9D387C |
|---|---|
| RGB | rgb(157, 56, 124) |
| HSL | hsl(320, 47%, 42%) |
| HSV | hsv(320, 64%, 62%) |
| CMYK | cmyk(0%, 64.3%, 21%, 38.4%) |
| CIE-LAB | lab(40.33, 49.32, -17.08) |
| CIE-LCH | lch(40.33, 52.19, 340.89°) |
| OKLab | oklab(50.59% 0.1476 -0.0456) |
| OKLCH | oklch(50.59% 0.155 342.8) |
| XYZ | xyz(18.9574, 11.4534, 20.2772) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.64
Warm Purple
#952E8F
ΔE00 6.20
Bruise
#7E4071
ΔE00 6.42
Red Violet
#9E0168
ΔE00 6.50
Magenta (survey)
#C20078
ΔE00 7.30
Ugly Purple
#A442A0
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D387C #389D59
analogous
#8C389D #9D387C #9D384A
triadic
#9D387C #7C9D38 #387C9D
tetradic
#9D387C #9D8C38 #389D59 #384A9D
square
#9D387C #9D8C38 #389D59 #384A9D
split-complementary
#9D387C #4A9D38 #389D8C
monochromatic
#431835 #702858 #9D387C #C1519C #D17EB6
Accessibility & contrast
On white
6.38
#9D387C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9D387C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D387C
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D387C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D387C | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#A73855
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9d387c; /* rgb */ color: rgb(157, 56, 124); /* oklch */ color: oklch(50.6% 0.154 342.8);
Tailwind
colors: {
custom: {
50: '#bd75a2',
500: '#9d387c',
950: '#000000',
},
}SCSS
$custom: #9d387c; $custom-light: #bd75a2; $custom-dark: #000000;
JSON
{
"hex": "#9d387c",
"rgb": {
"r": 157,
"g": 56,
"b": 124
},
"hsl": {
"h": 319.604,
"s": 47.418,
"l": 41.765
},
"oklch": {
"l": 0.50593,
"c": 0.1545,
"h": 342.8
},
"luminance": 0.11452
}Semantic roles & 50–950 ramp
primary
#9D387C
secondary
#76BA8D
accent
#D77D51
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090F
muted
#817B7E