#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
RGBrgb(157, 71, 124)
HSLhsl(323, 38%, 45%)
HSVhsv(323, 55%, 62%)
CMYKcmyk(0%, 54.8%, 21%, 38.4%)
CIE-LABlab(42.96, 42.24, -13.08)
CIE-LCHlch(42.96, 44.22, 342.80°)
OKLaboklab(52.54% 0.1262 -0.0347)
OKLCHoklch(52.54% 0.131 344.6)
XYZxyz(19.7964, 13.1315, 20.5569)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##9D477C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.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

Preview Lab

Preview with #9D477C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9D477C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva