#9C287D#9C287D

#9C287D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.175 H 340.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9C287D
RGBrgb(156, 40, 125)
HSLhsl(316, 59%, 38%)
HSVhsv(316, 74%, 61%)
CMYKcmyk(0%, 74.4%, 19.9%, 38.8%)
CIE-LABlab(37.96, 55.44, -21.37)
CIE-LCHlch(37.96, 59.41, 338.92°)
OKLaboklab(48.84% 0.1658 -0.0576)
OKLCHoklch(48.84% 0.175 340.8)
XYZxyz(18.1713, 10.0680, 20.3844)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C287D #289C47
analogous
#81289C #9C287D #9C2843
triadic
#9C287D #7D9C28 #287D9C
tetradic
#9C287D #9C8128 #289C47 #28439C
square
#9C287D #9C8128 #289C47 #28439C
split-complementary
#9C287D #439C28 #289C81
monochromatic
#3B0F2F #6B1C56 #9C287D #CB36A3 #D867BA

Accessibility & contrast

On white

6.97
#9C287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C287D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C287D#FFFFFF#000000##FFFFFF
##9C287D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A62B4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c287d;
/* rgb */ color: rgb(156, 40, 125);
/* oklch */ color: oklch(48.8% 0.175 340.8);
Tailwind
colors: {
  custom: {
    50: '#bd6ea3',
    500: '#9c287d',
    950: '#000000',
  },
}
SCSS
$custom: #9c287d;
$custom-light: #bd6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c287d",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 316.034,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.17548,
    "h": 340.8
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#9C287D
secondary
#62BE7A
accent
#E26F45
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C287D

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

Preview Lab → · Contrast checker → · Palette generator →

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