#9C5E8A#9C5E8A

#9C5E8A is a mid, moderate pink. Relative luminance 0.169; OKLCH L 56.6% C 0.100 H 338.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C5E8A
RGBrgb(156, 94, 138)
HSLhsl(317, 25%, 49%)
HSVhsv(317, 40%, 61%)
CMYKcmyk(0%, 39.7%, 11.5%, 38.8%)
CIE-LABlab(48.15, 31.90, -13.69)
CIE-LCHlch(48.15, 34.71, 336.77°)
OKLaboklab(56.57% 0.0928 -0.0366)
OKLCHoklch(56.57% 0.1 338.5)
XYZxyz(22.3005, 16.9096, 26.1291)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5E8A #5E9C70
analogous
#8F5E9C #9C5E8A #9C5E6B
triadic
#9C5E8A #8A9C5E #5E8A9C
tetradic
#9C5E8A #9C8F5E #5E9C70 #5E6B9C
square
#9C5E8A #9C8F5E #5E9C70 #5E6B9C
split-complementary
#9C5E8A #6B9C5E #5E9C8F
monochromatic
#503046 #764768 #9C5E8A #B483A6 #CBA9C1

Accessibility & contrast

On white

4.79
#9C5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C5E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C5E8A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5E8A#FFFFFF#000000##FFFFFF
##9C5E8A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#A25F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c5e8a;
/* rgb */ color: rgb(156, 94, 138);
/* oklch */ color: oklch(56.6% 0.100 338.5);
Tailwind
colors: {
  custom: {
    50: '#ba8dac',
    500: '#9c5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c5e8a;
$custom-light: #ba8dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5e8a",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 317.419,
    "s": 24.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.09971,
    "h": 338.5
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#9C5E8A
secondary
#9CBAA5
accent
#C18167
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F

Preview Lab

Preview with #9C5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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