#9C387E#9C387E

#9C387E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.155 H 341.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C387E
RGBrgb(156, 56, 126)
HSLhsl(318, 47%, 42%)
HSVhsv(318, 64%, 61%)
CMYKcmyk(0%, 64.1%, 19.2%, 38.8%)
CIE-LABlab(40.25, 49.32, -18.46)
CIE-LCHlch(40.25, 52.66, 339.48°)
OKLaboklab(50.53% 0.147 -0.0495)
OKLCHoklch(50.53% 0.155 341.4)
XYZxyz(18.8908, 11.4043, 20.9410)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C387E #389C56
analogous
#88389C #9C387E #9C384C
triadic
#9C387E #7E9C38 #387E9C
tetradic
#9C387E #9C8838 #389C56 #384C9C
square
#9C387E #9C8838 #389C56 #384C9C
split-complementary
#9C387E #4C9C38 #389C88
monochromatic
#421835 #6F285A #9C387E #C0519F #D17EB8

Accessibility & contrast

On white

6.40
#9C387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C387E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C387E#FFFFFF#000000##FFFFFF
##9C387E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#A53956
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c387e;
/* rgb */ color: rgb(156, 56, 126);
/* oklch */ color: oklch(50.5% 0.155 341.4);
Tailwind
colors: {
  custom: {
    50: '#bc75a3',
    500: '#9c387e',
    950: '#000000',
  },
}
SCSS
$custom: #9c387e;
$custom-light: #bc75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c387e",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 318,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50529,
    "c": 0.1551,
    "h": 341.4
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#9C387E
secondary
#76BA8A
accent
#D77951
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9C387E

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

Preview Lab → · Contrast checker → · Palette generator →

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