#9D487D#9D487D

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

Color values

HEX#9D487D
RGBrgb(157, 72, 125)
HSLhsl(323, 37%, 45%)
HSVhsv(323, 54%, 62%)
CMYKcmyk(0%, 54.1%, 20.4%, 38.4%)
CIE-LABlab(43.19, 41.89, -13.34)
CIE-LCHlch(43.19, 43.96, 342.33°)
OKLaboklab(52.72% 0.125 -0.0354)
OKLCHoklch(52.72% 0.13 344.2)
XYZxyz(19.9241, 13.2851, 20.9130)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D487D #489D68
analogous
#92489D #9D487D #9D4853
triadic
#9D487D #7D9D48 #487D9D
tetradic
#9D487D #9D9248 #489D68 #48539D
square
#9D487D #9D9248 #489D68 #48539D
split-complementary
#9D487D #539D48 #489D92
monochromatic
#49223A #73355C #9D487D #BA689B #CD92B7

Accessibility & contrast

On white

5.74
#9D487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9D487D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D487D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D487D#FFFFFF#000000##FFFFFF
##9D487D1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7F
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#A6485D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d487d;
/* rgb */ color: rgb(157, 72, 125);
/* oklch */ color: oklch(52.7% 0.130 344.2);
Tailwind
colors: {
  custom: {
    50: '#bc7ea2',
    500: '#9d487d',
    950: '#000000',
  },
}
SCSS
$custom: #9d487d;
$custom-light: #bc7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d487d",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 322.588,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.12989,
    "h": 344.2
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#9D487D
secondary
#88B99A
accent
#CD865B
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9D487D

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

Preview Lab → · Contrast checker → · Palette generator →

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