#9C2886#9C2886

#9C2886 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.182 H 336.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C2886
RGBrgb(156, 40, 134)
HSLhsl(311, 59%, 38%)
HSVhsv(311, 74%, 61%)
CMYKcmyk(0%, 74.4%, 14.1%, 38.8%)
CIE-LABlab(38.39, 56.74, -26.28)
CIE-LCHlch(38.39, 62.53, 335.15°)
OKLaboklab(49.29% 0.167 -0.0715)
OKLCHoklch(49.29% 0.182 336.8)
XYZxyz(18.7725, 10.3085, 23.5507)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2886 #289C3E
analogous
#78289C #9C2886 #9C284C
triadic
#9C2886 #869C28 #28869C
tetradic
#9C2886 #9C7828 #289C3E #284C9C
square
#9C2886 #9C7828 #289C3E #284C9C
split-complementary
#9C2886 #4C9C28 #289C78
monochromatic
#3B0F32 #6B1C5C #9C2886 #CB36AF #D867C2

Accessibility & contrast

On white

6.86
#9C2886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2886
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2886#FFFFFF#000000##FFFFFF
##9C28861.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A42F54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2886;
/* rgb */ color: rgb(156, 40, 134);
/* oklch */ color: oklch(49.3% 0.182 336.8);
Tailwind
colors: {
  custom: {
    50: '#bd6ea9',
    500: '#9c2886',
    950: '#000000',
  },
}
SCSS
$custom: #9c2886;
$custom-light: #bd6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2886",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 311.379,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.18164,
    "h": 336.8
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#9C2886
secondary
#62BE73
accent
#E26345
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2886

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

Preview Lab → · Contrast checker → · Palette generator →

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