#9D488C#9D488C

#9D488C is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.4% C 0.141 H 335.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9D488C
RGBrgb(157, 72, 140)
HSLhsl(312, 37%, 45%)
HSVhsv(312, 54%, 62%)
CMYKcmyk(0%, 54.1%, 10.8%, 38.4%)
CIE-LABlab(43.80, 44.32, -21.53)
CIE-LCHlch(43.80, 49.27, 334.09°)
OKLaboklab(53.37% 0.1287 -0.0583)
OKLCHoklch(53.37% 0.141 335.6)
XYZxyz(20.9557, 13.6978, 26.3461)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D488C #489D59
analogous
#84489D #9D488C #9D4862
triadic
#9D488C #8C9D48 #488C9D
tetradic
#9D488C #9D8448 #489D59 #48629D
square
#9D488C #9D8448 #489D59 #48629D
split-complementary
#9D488C #629D48 #489D84
monochromatic
#492241 #733567 #9D488C #BA68AA #CD92C1

Accessibility & contrast

On white

5.62
#9D488C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9D488C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D488C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D488C#FFFFFF#000000##FFFFFF
##9D488C1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8E
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#A44C63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d488c;
/* rgb */ color: rgb(157, 72, 140);
/* oklch */ color: oklch(53.4% 0.141 335.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fad',
    500: '#9d488c',
    950: '#000000',
  },
}
SCSS
$custom: #9d488c;
$custom-light: #bc7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d488c",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 312,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.14125,
    "h": 335.6
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#9D488C
secondary
#88B992
accent
#CD725B
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9D488C

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

Preview Lab → · Contrast checker → · Palette generator →

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