#9D4A71#9D4A71

#9D4A71 is a mid, moderate pink. Relative luminance 0.133; OKLCH L 52.5% C 0.119 H 352.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9D4A71
RGBrgb(157, 74, 113)
HSLhsl(332, 36%, 45%)
HSVhsv(332, 53%, 62%)
CMYKcmyk(0%, 52.9%, 28%, 38.4%)
CIE-LABlab(43.15, 39.10, -6.05)
CIE-LCHlch(43.15, 39.56, 351.21°)
OKLaboklab(52.55% 0.1182 -0.0155)
OKLCHoklch(52.55% 0.119 352.5)
XYZxyz(19.3347, 13.2596, 17.1607)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4A71 #4A9D76
analogous
#9D4A9B #9D4A71 #9D4C4A
triadic
#9D4A71 #719D4A #4A719D
tetradic
#9D4A71 #9B9D4A #4A9D76 #4C4A9D
square
#9D4A71 #9B9D4A #4A9D76 #4C4A9D
split-complementary
#9D4A71 #4A9D4C #4A9B9D
monochromatic
#4A2335 #733653 #9D4A71 #B96B90 #CD95AF

Accessibility & contrast

On white

5.75
#9D4A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9D4A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4A71
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4A71#FFFFFF#000000##FFFFFF
##9D4A711.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D72
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#A74659
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d4a71;
/* rgb */ color: rgb(157, 74, 113);
/* oklch */ color: oklch(52.5% 0.119 352.5);
Tailwind
colors: {
  custom: {
    50: '#bc7f99',
    500: '#9d4a71',
    950: '#000000',
  },
}
SCSS
$custom: #9d4a71;
$custom-light: #bc7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4a71",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 331.807,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.11924,
    "h": 352.5
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#9D4A71
secondary
#8AB9A3
accent
#CC975C
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9D4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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