#9C387B#9C387B
#9C387B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.153 H 343.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9C387B |
|---|---|
| RGB | rgb(156, 56, 123) |
| HSL | hsl(320, 47%, 42%) |
| HSV | hsv(320, 64%, 61%) |
| CMYK | cmyk(0%, 64.1%, 21.2%, 38.8%) |
| CIE-LAB | lab(40.13, 48.88, -16.80) |
| CIE-LCH | lch(40.13, 51.68, 341.03°) |
| OKLab | oklab(50.4% 0.1463 -0.0448) |
| OKLCH | oklch(50.4% 0.153 343) |
| XYZ | xyz(18.7002, 11.3281, 19.9367) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.61
Bruise
#7E4071
ΔE00 6.24
Warm Purple
#952E8F
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.40
Magenta (survey)
#C20078
ΔE00 7.41
Purpleish
#98568D
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C387B #389C59
analogous
#8B389C #9C387B #9C3849
triadic
#9C387B #7B9C38 #387B9C
tetradic
#9C387B #9C8B38 #389C59 #38499C
square
#9C387B #9C8B38 #389C59 #38499C
split-complementary
#9C387B #499C38 #389C8B
monochromatic
#421834 #6F2857 #9C387B #C0519C #D17EB5
Accessibility & contrast
On white
6.43
#9C387B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9C387B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C387B
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C387B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C387B | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#A63854
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c387b; /* rgb */ color: rgb(156, 56, 123); /* oklch */ color: oklch(50.4% 0.153 343.0);
Tailwind
colors: {
custom: {
50: '#bc75a1',
500: '#9c387b',
950: '#000000',
},
}SCSS
$custom: #9c387b; $custom-light: #bc75a1; $custom-dark: #000000;
JSON
{
"hex": "#9c387b",
"rgb": {
"r": 156,
"g": 56,
"b": 123
},
"hsl": {
"h": 319.8,
"s": 47.17,
"l": 41.569
},
"oklch": {
"l": 0.50395,
"c": 0.15305,
"h": 343
},
"luminance": 0.11326
}Semantic roles & 50–950 ramp
primary
#9C387B
secondary
#76BA8C
accent
#D77D51
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E