#9C287E#9C287E

#9C287E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.176 H 340.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9C287E
RGBrgb(156, 40, 126)
HSLhsl(316, 59%, 38%)
HSVhsv(316, 74%, 61%)
CMYKcmyk(0%, 74.4%, 19.2%, 38.8%)
CIE-LABlab(38.01, 55.58, -21.92)
CIE-LCHlch(38.01, 59.74, 338.47°)
OKLaboklab(48.89% 0.1659 -0.0591)
OKLCHoklch(48.89% 0.176 340.4)
XYZxyz(18.2355, 10.0937, 20.7225)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C287E #289C46
analogous
#80289C #9C287E #9C2844
triadic
#9C287E #7E9C28 #287E9C
tetradic
#9C287E #9C8028 #289C46 #28449C
square
#9C287E #9C8028 #289C46 #28449C
split-complementary
#9C287E #449C28 #289C80
monochromatic
#3B0F2F #6B1C57 #9C287E #CB36A5 #D867BB

Accessibility & contrast

On white

6.96
#9C287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9C287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C287E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C287E#FFFFFF#000000##FFFFFF
##9C287E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A52B50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c287e;
/* rgb */ color: rgb(156, 40, 126);
/* oklch */ color: oklch(48.9% 0.176 340.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ea3',
    500: '#9c287e',
    950: '#000000',
  },
}
SCSS
$custom: #9c287e;
$custom-light: #bd6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c287e",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 315.517,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.17614,
    "h": 340.4
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#9C287E
secondary
#62BE7A
accent
#E26E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C287E

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

Preview Lab → · Contrast checker → · Palette generator →

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