#9D477F#9D477F

#9D477F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.7% C 0.133 H 342.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D477F
RGBrgb(157, 71, 127)
HSLhsl(321, 38%, 45%)
HSVhsv(321, 55%, 62%)
CMYKcmyk(0%, 54.8%, 19.1%, 38.4%)
CIE-LABlab(43.08, 42.70, -14.74)
CIE-LCHlch(43.08, 45.18, 340.96°)
OKLaboklab(52.66% 0.127 -0.0392)
OKLCHoklch(52.66% 0.133 342.8)
XYZxyz(19.9891, 13.2085, 21.5713)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D477F #479D65
analogous
#90479D #9D477F #9D4754
triadic
#9D477F #7F9D47 #477F9D
tetradic
#9D477F #9D9047 #479D65 #47549D
square
#9D477F #9D9047 #479D65 #47549D
split-complementary
#9D477F #549D47 #479D90
monochromatic
#49213B #73345D #9D477F #BA679D #CD91B8

Accessibility & contrast

On white

5.77
#9D477F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D477F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D477F#FFFFFF#000000##FFFFFF
##9D477F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d477f;
/* rgb */ color: rgb(157, 71, 127);
/* oklch */ color: oklch(52.7% 0.133 342.8);
Tailwind
colors: {
  custom: {
    50: '#bc7ea4',
    500: '#9d477f',
    950: '#000000',
  },
}
SCSS
$custom: #9d477f;
$custom-light: #bc7ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d477f",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 320.93,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.13297,
    "h": 342.8
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#9D477F
secondary
#87B998
accent
#CE825A
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9D477F

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

Preview Lab → · Contrast checker → · Palette generator →

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