#9C387E#9C387E
#9C387E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.155 H 341.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9C387E |
|---|---|
| RGB | rgb(156, 56, 126) |
| HSL | hsl(318, 47%, 42%) |
| HSV | hsv(318, 64%, 61%) |
| CMYK | cmyk(0%, 64.1%, 19.2%, 38.8%) |
| CIE-LAB | lab(40.25, 49.32, -18.46) |
| CIE-LCH | lch(40.25, 52.66, 339.48°) |
| OKLab | oklab(50.53% 0.147 -0.0495) |
| OKLCH | oklch(50.53% 0.155 341.4) |
| XYZ | xyz(18.8908, 11.4043, 20.9410) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.18
Warm Purple
#952E8F
ΔE00 5.61
Bruise
#7E4071
ΔE00 6.28
Red Violet
#9E0168
ΔE00 6.71
Ugly Purple
#A442A0
ΔE00 6.90
Purpleish
#98568D
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C387E #389C56
analogous
#88389C #9C387E #9C384C
triadic
#9C387E #7E9C38 #387E9C
tetradic
#9C387E #9C8838 #389C56 #384C9C
square
#9C387E #9C8838 #389C56 #384C9C
split-complementary
#9C387E #4C9C38 #389C88
monochromatic
#421835 #6F285A #9C387E #C0519F #D17EB8
Accessibility & contrast
On white
6.40
#9C387E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9C387E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C387E
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C387E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C387E | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#A53956
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c387e; /* rgb */ color: rgb(156, 56, 126); /* oklch */ color: oklch(50.5% 0.155 341.4);
Tailwind
colors: {
custom: {
50: '#bc75a3',
500: '#9c387e',
950: '#000000',
},
}SCSS
$custom: #9c387e; $custom-light: #bc75a3; $custom-dark: #000000;
JSON
{
"hex": "#9c387e",
"rgb": {
"r": 156,
"g": 56,
"b": 126
},
"hsl": {
"h": 318,
"s": 47.17,
"l": 41.569
},
"oklch": {
"l": 0.50529,
"c": 0.1551,
"h": 341.4
},
"luminance": 0.11403
}Semantic roles & 50–950 ramp
primary
#9C387E
secondary
#76BA8A
accent
#D77951
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12090F
muted
#817B7F