#9D487C#9D487C

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

Color values

HEX#9D487C
RGBrgb(157, 72, 124)
HSLhsl(323, 37%, 45%)
HSVhsv(323, 54%, 62%)
CMYKcmyk(0%, 54.1%, 21%, 38.4%)
CIE-LABlab(43.15, 41.74, -12.79)
CIE-LCHlch(43.15, 43.65, 342.96°)
OKLaboklab(52.68% 0.1247 -0.0339)
OKLCHoklch(52.68% 0.129 344.8)
XYZxyz(19.8606, 13.2597, 20.5782)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D487C #489D69
analogous
#94489D #9D487C #9D4852
triadic
#9D487C #7C9D48 #487C9D
tetradic
#9D487C #9D9448 #489D69 #48529D
square
#9D487C #9D9448 #489D69 #48529D
split-complementary
#9D487C #529D48 #489D94
monochromatic
#49223A #73355B #9D487C #BA689A #CD92B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D487C#FFFFFF#000000##FFFFFF
##9D487C1.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)
#4F5D7E
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#A6475C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d487c;
/* rgb */ color: rgb(157, 72, 124);
/* oklch */ color: oklch(52.7% 0.129 344.8);
Tailwind
colors: {
  custom: {
    50: '#bc7ea2',
    500: '#9d487c',
    950: '#000000',
  },
}
SCSS
$custom: #9d487c;
$custom-light: #bc7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d487c",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 323.294,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.12923,
    "h": 344.8
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#9D487C
secondary
#88B99B
accent
#CD875B
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #9D487C

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

Preview Lab → · Contrast checker → · Palette generator →

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