#9D477E#9D477E

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

Color values

HEX#9D477E
RGBrgb(157, 71, 126)
HSLhsl(322, 38%, 45%)
HSVhsv(322, 55%, 62%)
CMYKcmyk(0%, 54.8%, 19.7%, 38.4%)
CIE-LABlab(43.04, 42.55, -14.19)
CIE-LCHlch(43.04, 44.85, 341.56°)
OKLaboklab(52.62% 0.1268 -0.0377)
OKLCHoklch(52.62% 0.132 343.4)
XYZxyz(19.9242, 13.1826, 21.2297)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D477E #479D66
analogous
#91479D #9D477E #9D4753
triadic
#9D477E #7E9D47 #477E9D
tetradic
#9D477E #9D9147 #479D66 #47539D
square
#9D477E #9D9147 #479D66 #47539D
split-complementary
#9D477E #539D47 #479D91
monochromatic
#49213A #73345C #9D477E #BA679C #CD91B8

Accessibility & contrast

On white

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

On black

3.64
#9D477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D477E#FFFFFF#000000##FFFFFF
##9D477E1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#A6475D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d477e;
/* rgb */ color: rgb(157, 71, 126);
/* oklch */ color: oklch(52.6% 0.132 343.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ea3',
    500: '#9d477e',
    950: '#000000',
  },
}
SCSS
$custom: #9d477e;
$custom-light: #bc7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d477e",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 321.628,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.13226,
    "h": 343.4
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D477E

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

Preview Lab → · Contrast checker → · Palette generator →

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