#9D488E#9D488E

#9D488E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.5% C 0.143 H 334.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9D488E
RGBrgb(157, 72, 142)
HSLhsl(311, 37%, 45%)
HSVhsv(311, 54%, 62%)
CMYKcmyk(0%, 54.1%, 9.6%, 38.4%)
CIE-LABlab(43.88, 44.66, -22.61)
CIE-LCHlch(43.88, 50.05, 333.15°)
OKLaboklab(53.46% 0.1291 -0.0613)
OKLCHoklch(53.46% 0.143 334.6)
XYZxyz(21.1045, 13.7573, 27.1298)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D488E #489D57
analogous
#81489D #9D488E #9D4864
triadic
#9D488E #8E9D48 #488E9D
tetradic
#9D488E #9D8148 #489D57 #48649D
square
#9D488E #9D8148 #489D57 #48649D
split-complementary
#9D488E #649D48 #489D81
monochromatic
#492242 #733568 #9D488E #BA68AB #CD92C3

Accessibility & contrast

On white

5.60
#9D488E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9D488E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D488E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D488E#FFFFFF#000000##FFFFFF
##9D488E1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#A44D64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d488e;
/* rgb */ color: rgb(157, 72, 142);
/* oklch */ color: oklch(53.5% 0.143 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc7faf',
    500: '#9d488e',
    950: '#000000',
  },
}
SCSS
$custom: #9d488e;
$custom-light: #bc7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d488e",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 310.588,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.14291,
    "h": 334.6
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#9D488E
secondary
#88B990
accent
#CD6F5B
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9D488E

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

Preview Lab → · Contrast checker → · Palette generator →

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