#9C287F#9C287F

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

Color values

HEX#9C287F
RGBrgb(156, 40, 127)
HSLhsl(315, 59%, 38%)
HSVhsv(315, 74%, 61%)
CMYKcmyk(0%, 74.4%, 18.6%, 38.8%)
CIE-LABlab(38.06, 55.72, -22.47)
CIE-LCHlch(38.06, 60.08, 338.04°)
OKLaboklab(48.94% 0.1661 -0.0607)
OKLCHoklch(48.94% 0.177 339.9)
XYZxyz(18.3004, 10.1196, 21.0640)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C287F #289C45
analogous
#7F289C #9C287F #9C2845
triadic
#9C287F #7F9C28 #287F9C
tetradic
#9C287F #9C7F28 #289C45 #28459C
square
#9C287F #9C7F28 #289C45 #28459C
split-complementary
#9C287F #459C28 #289C7F
monochromatic
#3B0F30 #6B1C57 #9C287F #CB36A6 #D867BC

Accessibility & contrast

On white

6.95
#9C287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C287F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C287F#FFFFFF#000000##FFFFFF
##9C287F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#A52C50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c287f;
/* rgb */ color: rgb(156, 40, 127);
/* oklch */ color: oklch(48.9% 0.177 339.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ea4',
    500: '#9c287f',
    950: '#000000',
  },
}
SCSS
$custom: #9c287f;
$custom-light: #bd6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c287f",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 315,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.17681,
    "h": 339.9
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#9C287F
secondary
#62BE79
accent
#E26D45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C287F

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

Preview Lab → · Contrast checker → · Palette generator →

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