#9C2884#9C2884

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

Color values

HEX#9C2884
RGBrgb(156, 40, 132)
HSLhsl(312, 59%, 38%)
HSVhsv(312, 74%, 61%)
CMYKcmyk(0%, 74.4%, 15.4%, 38.8%)
CIE-LABlab(38.29, 56.44, -25.20)
CIE-LCHlch(38.29, 61.81, 335.94°)
OKLaboklab(49.19% 0.1667 -0.0684)
OKLCHoklch(49.19% 0.18 337.7)
XYZxyz(18.6343, 10.2532, 22.8230)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2884 #289C40
analogous
#7A289C #9C2884 #9C284A
triadic
#9C2884 #849C28 #28849C
tetradic
#9C2884 #9C7A28 #289C40 #284A9C
square
#9C2884 #9C7A28 #289C40 #284A9C
split-complementary
#9C2884 #4A9C28 #289C7A
monochromatic
#3B0F32 #6B1C5B #9C2884 #CB36AC #D867C0

Accessibility & contrast

On white

6.88
#9C2884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C2884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2884
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2884#FFFFFF#000000##FFFFFF
##9C28841.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F87
Deuteranopia (green-blind)
#546181
Tritanopia (blue-blind)
#A52E53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2884;
/* rgb */ color: rgb(156, 40, 132);
/* oklch */ color: oklch(49.2% 0.180 337.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ea8',
    500: '#9c2884',
    950: '#000000',
  },
}
SCSS
$custom: #9c2884;
$custom-light: #bd6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2884",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 312.414,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.18024,
    "h": 337.7
  },
  "luminance": 0.10251
}

Semantic roles & 50–950 ramp

primary
#9C2884
secondary
#62BE75
accent
#E26645
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2884

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

Preview Lab → · Contrast checker → · Palette generator →

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