#9C2587#9C2587

#9C2587 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.186 H 336.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C2587
RGBrgb(156, 37, 135)
HSLhsl(311, 62%, 38%)
HSVhsv(311, 76%, 61%)
CMYKcmyk(0%, 76.3%, 13.5%, 38.8%)
CIE-LABlab(38.10, 57.87, -27.35)
CIE-LCHlch(38.10, 64.01, 334.70°)
OKLaboklab(49.1% 0.17 -0.0746)
OKLCHoklch(49.1% 0.186 336.3)
XYZxyz(18.7454, 10.1421, 23.8873)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2587 #259C3A
analogous
#75259C #9C2587 #9C254C
triadic
#9C2587 #879C25 #25879C
tetradic
#9C2587 #9C7525 #259C3A #254C9C
square
#9C2587 #9C7525 #259C3A #254C9C
split-complementary
#9C2587 #4C9C25 #259C75
monochromatic
#390E31 #6B195C #9C2587 #CD31B2 #DA62C5

Accessibility & contrast

On white

6.94
#9C2587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C2587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2587
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2587#FFFFFF#000000##FFFFFF
##9C25871.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A42E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2587;
/* rgb */ color: rgb(156, 37, 135);
/* oklch */ color: oklch(49.1% 0.186 336.3);
Tailwind
colors: {
  custom: {
    50: '#bd6daa',
    500: '#9c2587',
    950: '#000000',
  },
}
SCSS
$custom: #9c2587;
$custom-light: #bd6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2587",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 310.588,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.18563,
    "h": 336.3
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#9C2587
secondary
#5EBF6F
accent
#E56043
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C2587

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

Preview Lab → · Contrast checker → · Palette generator →

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