#9D477C#9D477C
#9D477C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.5% C 0.131 H 344.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9D477C |
|---|---|
| RGB | rgb(157, 71, 124) |
| HSL | hsl(323, 38%, 45%) |
| HSV | hsv(323, 55%, 62%) |
| CMYK | cmyk(0%, 54.8%, 21%, 38.4%) |
| CIE-LAB | lab(42.96, 42.24, -13.08) |
| CIE-LCH | lch(42.96, 44.22, 342.80°) |
| OKLab | oklab(52.54% 0.1262 -0.0347) |
| OKLCH | oklch(52.54% 0.131 344.6) |
| XYZ | xyz(19.7964, 13.1315, 20.5569) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.26
Purpleish
#98568D
ΔE00 5.24
Purplish
#94568C
ΔE00 5.55
Light Eggplant
#894585
ΔE00 6.27
Bruise
#7E4071
ΔE00 6.93
Dusky Purple
#895B7B
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D477C #479D68
analogous
#93479D #9D477C #9D4751
triadic
#9D477C #7C9D47 #477C9D
tetradic
#9D477C #9D9347 #479D68 #47519D
square
#9D477C #9D9347 #479D68 #47519D
split-complementary
#9D477C #519D47 #479D93
monochromatic
#492139 #73345B #9D477C #BA679A #CD91B6
Accessibility & contrast
On white
5.79
#9D477C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#9D477C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D477C
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D477C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D477C | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5C7E
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#A6465C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9d477c; /* rgb */ color: rgb(157, 71, 124); /* oklch */ color: oklch(52.5% 0.131 344.6);
Tailwind
colors: {
custom: {
50: '#bc7ea2',
500: '#9d477c',
950: '#000000',
},
}SCSS
$custom: #9d477c; $custom-light: #bc7ea2; $custom-dark: #000000;
JSON
{
"hex": "#9d477c",
"rgb": {
"r": 157,
"g": 71,
"b": 124
},
"hsl": {
"h": 323.023,
"s": 37.719,
"l": 44.706
},
"oklch": {
"l": 0.52535,
"c": 0.1309,
"h": 344.6
},
"luminance": 0.1313
}Semantic roles & 50–950 ramp
primary
#9D477C
secondary
#87B99A
accent
#CE865A
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0F
muted
#817C7E