#9C5D7B#9C5D7B

#9C5D7B is a mid, moderate pink. Relative luminance 0.163; OKLCH L 55.8% C 0.091 H 350.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9C5D7B
RGBrgb(156, 93, 123)
HSLhsl(331, 25%, 49%)
HSVhsv(331, 40%, 61%)
CMYKcmyk(0%, 40.4%, 21.2%, 38.8%)
CIE-LABlab(47.40, 29.94, -5.82)
CIE-LCHlch(47.40, 30.50, 349.01°)
OKLaboklab(55.83% 0.0895 -0.0151)
OKLCHoklch(55.83% 0.091 350.4)
XYZxyz(21.2002, 16.3281, 20.7701)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5D7B #5D9C7E
analogous
#9C5D9B #9C5D7B #9C5F5D
triadic
#9C5D7B #7B9C5D #5D7B9C
tetradic
#9C5D7B #9B9C5D #5D9C7E #5F5D9C
square
#9C5D7B #9B9C5D #5D9C7E #5F5D9C
split-complementary
#9C5D7B #5D9C5F #5D9B9C
monochromatic
#4F2F3F #76465D #9C5D7B #B4829A #CBA8B9

Accessibility & contrast

On white

4.92
#9C5D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9C5D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5D7B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5D7B#FFFFFF#000000##FFFFFF
##9C5D7B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636A7C
Deuteranopia (green-blind)
#737479
Tritanopia (blue-blind)
#A45B68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c5d7b;
/* rgb */ color: rgb(156, 93, 123);
/* oklch */ color: oklch(55.8% 0.091 350.4);
Tailwind
colors: {
  custom: {
    50: '#ba8ca1',
    500: '#9c5d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9c5d7b;
$custom-light: #ba8ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5d7b",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 123
  },
  "hsl": {
    "h": 331.429,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.09074,
    "h": 350.4
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#9C5D7B
secondary
#9BB9AB
accent
#C29666
background
#FBF8F9
surface
#F6F0F2
border
#D0CBCC
text
#120C0E
muted
#817D7E

Preview Lab

Preview with #9C5D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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