#9D487B#9D487B

#9D487B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.6% C 0.129 H 345.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9D487B
RGBrgb(157, 72, 123)
HSLhsl(324, 37%, 45%)
HSVhsv(324, 54%, 62%)
CMYKcmyk(0%, 54.1%, 21.7%, 38.4%)
CIE-LABlab(43.11, 41.59, -12.23)
CIE-LCHlch(43.11, 43.35, 343.61°)
OKLaboklab(52.64% 0.1244 -0.0323)
OKLCHoklch(52.64% 0.129 345.4)
XYZxyz(19.7977, 13.2345, 20.2469)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D487B #489D6A
analogous
#95489D #9D487B #9D4850
triadic
#9D487B #7B9D48 #487B9D
tetradic
#9D487B #9D9548 #489D6A #48509D
square
#9D487B #9D9548 #489D6A #48509D
split-complementary
#9D487B #509D48 #489D95
monochromatic
#492239 #73355A #9D487B #BA6899 #CD92B6

Accessibility & contrast

On white

5.76
#9D487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D487B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D487B#FFFFFF#000000##FFFFFF
##9D487B1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7D
Deuteranopia (green-blind)
#676B79
Tritanopia (blue-blind)
#A6475C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d487b;
/* rgb */ color: rgb(157, 72, 123);
/* oklch */ color: oklch(52.6% 0.129 345.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ea1',
    500: '#9d487b',
    950: '#000000',
  },
}
SCSS
$custom: #9d487b;
$custom-light: #bc7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d487b",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 324,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.12855,
    "h": 345.4
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D487B

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

Preview Lab → · Contrast checker → · Palette generator →

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