#9D328B#9D328B

#9D328B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.174 H 335.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D328B
RGBrgb(157, 50, 139)
HSLhsl(310, 52%, 41%)
HSVhsv(310, 68%, 62%)
CMYKcmyk(0%, 68.2%, 11.5%, 38.4%)
CIE-LABlab(40.11, 54.09, -26.65)
CIE-LCHlch(40.11, 60.30, 333.77°)
OKLaboklab(50.65% 0.1577 -0.0727)
OKLCHoklch(50.65% 0.174 335.3)
XYZxyz(19.7056, 11.3150, 25.5673)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D328B #329D44
analogous
#79329D #9D328B #9D3256
triadic
#9D328B #8B9D32 #328B9D
tetradic
#9D328B #9D7932 #329D44 #32569D
square
#9D328B #9D7932 #329D44 #32569D
split-complementary
#9D328B #569D32 #329D79
monochromatic
#401439 #6F2362 #9D328B #C548B0 #D376C4

Accessibility & contrast

On white

6.44
#9D328B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9D328B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D328B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D328B#FFFFFF#000000##FFFFFF
##9D328B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#A5395A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d328b;
/* rgb */ color: rgb(157, 50, 139);
/* oklch */ color: oklch(50.6% 0.174 335.3);
Tailwind
colors: {
  custom: {
    50: '#bd73ad',
    500: '#9d328b',
    950: '#000000',
  },
}
SCSS
$custom: #9d328b;
$custom-light: #bd73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d328b",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 310.093,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.17363,
    "h": 335.3
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#9D328B
secondary
#6FBC7C
accent
#DB654D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D328B

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

Preview Lab → · Contrast checker → · Palette generator →

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