#9D477D#9D477D

#9D477D is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.6% C 0.132 H 344.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9D477D
RGBrgb(157, 71, 125)
HSLhsl(322, 38%, 45%)
HSVhsv(322, 55%, 62%)
CMYKcmyk(0%, 54.8%, 20.4%, 38.4%)
CIE-LABlab(43.00, 42.39, -13.63)
CIE-LCHlch(43.00, 44.53, 342.17°)
OKLaboklab(52.58% 0.1265 -0.0362)
OKLCHoklch(52.58% 0.132 344)
XYZxyz(19.8600, 13.1569, 20.8916)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D477D #479D67
analogous
#92479D #9D477D #9D4752
triadic
#9D477D #7D9D47 #477D9D
tetradic
#9D477D #9D9247 #479D67 #47529D
square
#9D477D #9D9247 #479D67 #47529D
split-complementary
#9D477D #529D47 #479D92
monochromatic
#49213A #73345B #9D477D #BA679B #CD91B7

Accessibility & contrast

On white

5.78
#9D477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D477D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D477D#FFFFFF#000000##FFFFFF
##9D477D1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#A6475C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d477d;
/* rgb */ color: rgb(157, 71, 125);
/* oklch */ color: oklch(52.6% 0.132 344.0);
Tailwind
colors: {
  custom: {
    50: '#bc7ea2',
    500: '#9d477d',
    950: '#000000',
  },
}
SCSS
$custom: #9d477d;
$custom-light: #bc7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d477d",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 322.326,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.13157,
    "h": 344
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#9D477D
secondary
#87B999
accent
#CE855A
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9D477D

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

Preview Lab → · Contrast checker → · Palette generator →

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