#9D477A#9D477A

#9D477A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.5% C 0.130 H 345.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9D477A
RGBrgb(157, 71, 122)
HSLhsl(324, 38%, 45%)
HSVhsv(324, 55%, 62%)
CMYKcmyk(0%, 54.8%, 22.3%, 38.4%)
CIE-LABlab(42.89, 41.94, -11.97)
CIE-LCHlch(42.89, 43.61, 344.07°)
OKLaboklab(52.45% 0.1257 -0.0316)
OKLCHoklch(52.45% 0.13 345.9)
XYZxyz(19.6713, 13.0814, 19.8975)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D477A #479D6A
analogous
#95479D #9D477A #9D474F
triadic
#9D477A #7A9D47 #477A9D
tetradic
#9D477A #9D9547 #479D6A #474F9D
square
#9D477A #9D9547 #479D6A #474F9D
split-complementary
#9D477A #4F9D47 #479D95
monochromatic
#492139 #733459 #9D477A #BA6798 #CD91B5

Accessibility & contrast

On white

5.81
#9D477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D477A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D477A#FFFFFF#000000##FFFFFF
##9D477A1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#666B78
Tritanopia (blue-blind)
#A6465B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d477a;
/* rgb */ color: rgb(157, 71, 122);
/* oklch */ color: oklch(52.5% 0.130 345.9);
Tailwind
colors: {
  custom: {
    50: '#bc7ea0',
    500: '#9d477a',
    950: '#000000',
  },
}
SCSS
$custom: #9d477a;
$custom-light: #bc7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d477a",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 324.419,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.12957,
    "h": 345.9
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#9D477A
secondary
#87B99B
accent
#CE895A
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9D477A

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

Preview Lab → · Contrast checker → · Palette generator →

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