#9D4C8A#9D4C8A

#9D4C8A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.8% C 0.133 H 337.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9D4C8A
RGBrgb(157, 76, 138)
HSLhsl(314, 35%, 46%)
HSVhsv(314, 52%, 62%)
CMYKcmyk(0%, 51.6%, 12.1%, 38.4%)
CIE-LABlab(44.48, 41.95, -19.27)
CIE-LCHlch(44.48, 46.16, 335.33°)
OKLaboklab(53.85% 0.1223 -0.0519)
OKLCHoklch(53.85% 0.133 337)
XYZxyz(21.0767, 14.1734, 25.6655)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4C8A #4C9D5F
analogous
#874C9D #9D4C8A #9D4C61
triadic
#9D4C8A #8A9D4C #4C8A9D
tetradic
#9D4C8A #9D874C #4C9D5F #4C619D
square
#9D4C8A #9D874C #4C9D5F #4C619D
split-complementary
#9D4C8A #619D4C #4C9D87
monochromatic
#4B2442 #743866 #9D4C8A #B96EA7 #CD97C0

Accessibility & contrast

On white

5.48
#9D4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9D4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4C8A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4C8A#FFFFFF#000000##FFFFFF
##9D4C8A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E618C
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#A44F65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d4c8a;
/* rgb */ color: rgb(157, 76, 138);
/* oklch */ color: oklch(53.8% 0.133 337.0);
Tailwind
colors: {
  custom: {
    50: '#bc81ac',
    500: '#9d4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d4c8a;
$custom-light: #bc81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4c8a",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 314.074,
    "s": 34.764,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.13284,
    "h": 337
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#9D4C8A
secondary
#8CB996
accent
#CB775D
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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