#9D486C#9D486C

#9D486C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.1% C 0.120 H 355.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D486C
RGBrgb(157, 72, 108)
HSLhsl(335, 37%, 45%)
HSVhsv(335, 54%, 62%)
CMYKcmyk(0%, 54.1%, 31.2%, 38.4%)
CIE-LABlab(42.59, 39.44, -3.80)
CIE-LCHlch(42.59, 39.62, 354.50°)
OKLaboklab(52.08% 0.1197 -0.0095)
OKLCHoklch(52.08% 0.12 355.5)
XYZxyz(18.9296, 12.8873, 15.6750)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D486C #489D79
analogous
#9D4897 #9D486C #9D4E48
triadic
#9D486C #6C9D48 #486C9D
tetradic
#9D486C #979D48 #489D79 #4E489D
square
#9D486C #979D48 #489D79 #4E489D
split-complementary
#9D486C #489D4E #48979D
monochromatic
#492232 #73354F #9D486C #BA688B #CD92AB

Accessibility & contrast

On white

5.87
#9D486C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D486C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D486C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D486C#FFFFFF#000000##FFFFFF
##9D486C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6D
Deuteranopia (green-blind)
#6A6A6A
Tritanopia (blue-blind)
#A84356
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d486c;
/* rgb */ color: rgb(157, 72, 108);
/* oklch */ color: oklch(52.1% 0.120 355.5);
Tailwind
colors: {
  custom: {
    50: '#bd7e96',
    500: '#9d486c',
    950: '#000000',
  },
}
SCSS
$custom: #9d486c;
$custom-light: #bd7e96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d486c",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 108
  },
  "hsl": {
    "h": 334.588,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.12006,
    "h": 355.5
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#9D486C
secondary
#88B9A4
accent
#CD9D5B
background
#FBF7F9
surface
#F7EEF1
border
#D0C9CB
text
#120A0D
muted
#817C7E

Preview Lab

Preview with #9D486C

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

Preview Lab → · Contrast checker → · Palette generator →

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