#9C2885#9C2885

#9C2885 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.181 H 337.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C2885
RGBrgb(156, 40, 133)
HSLhsl(312, 59%, 38%)
HSVhsv(312, 74%, 61%)
CMYKcmyk(0%, 74.4%, 14.7%, 38.8%)
CIE-LABlab(38.34, 56.59, -25.74)
CIE-LCHlch(38.34, 62.17, 335.54°)
OKLaboklab(49.24% 0.1669 -0.07)
OKLCHoklch(49.24% 0.181 337.3)
XYZxyz(18.7031, 10.2807, 23.1851)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2885 #289C3F
analogous
#79289C #9C2885 #9C284B
triadic
#9C2885 #859C28 #28859C
tetradic
#9C2885 #9C7928 #289C3F #284B9C
square
#9C2885 #9C7928 #289C3F #284B9C
split-complementary
#9C2885 #4B9C28 #289C79
monochromatic
#3B0F32 #6B1C5B #9C2885 #CB36AE #D867C1

Accessibility & contrast

On white

6.87
#9C2885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2885
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2885#FFFFFF#000000##FFFFFF
##9C28851.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#536182
Tritanopia (blue-blind)
#A52F53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2885;
/* rgb */ color: rgb(156, 40, 133);
/* oklch */ color: oklch(49.2% 0.181 337.3);
Tailwind
colors: {
  custom: {
    50: '#bd6ea9',
    500: '#9c2885',
    950: '#000000',
  },
}
SCSS
$custom: #9c2885;
$custom-light: #bd6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2885",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 311.897,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.18094,
    "h": 337.3
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#9C2885
secondary
#62BE74
accent
#E26545
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2885

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

Preview Lab → · Contrast checker → · Palette generator →

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