#9C2387#9C2387

#9C2387 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 336.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9C2387
RGBrgb(156, 35, 135)
HSLhsl(310, 63%, 37%)
HSVhsv(310, 78%, 61%)
CMYKcmyk(0%, 77.6%, 13.5%, 38.8%)
CIE-LABlab(37.88, 58.49, -27.69)
CIE-LCHlch(37.88, 64.71, 334.66°)
OKLaboklab(48.94% 0.1718 -0.0755)
OKLCHoklch(48.94% 0.188 336.3)
XYZxyz(18.6848, 10.0210, 23.8672)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2387 #239C38
analogous
#74239C #9C2387 #9C234B
triadic
#9C2387 #879C23 #23879C
tetradic
#9C2387 #9C7423 #239C38 #234B9C
square
#9C2387 #9C7423 #239C38 #234B9C
split-complementary
#9C2387 #4B9C23 #239C74
monochromatic
#380D30 #6A185C #9C2387 #CE2EB2 #DB5EC5

Accessibility & contrast

On white

6.99
#9C2387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9C2387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2387
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2387#FFFFFF#000000##FFFFFF
##9C23871.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A42C53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2387;
/* rgb */ color: rgb(156, 35, 135);
/* oklch */ color: oklch(48.9% 0.188 336.3);
Tailwind
colors: {
  custom: {
    50: '#bd6caa',
    500: '#9c2387',
    950: '#000000',
  },
}
SCSS
$custom: #9c2387;
$custom-light: #bd6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2387",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 310.413,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.1877,
    "h": 336.3
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#9C2387
secondary
#5BC06D
accent
#E65E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2387

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

Preview Lab → · Contrast checker → · Palette generator →

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