#9C2888#9C2888

#9C2888 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.183 H 336.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9C2888
RGBrgb(156, 40, 136)
HSLhsl(310, 59%, 38%)
HSVhsv(310, 74%, 61%)
CMYKcmyk(0%, 74.4%, 12.8%, 38.8%)
CIE-LABlab(38.49, 57.04, -27.35)
CIE-LCHlch(38.49, 63.26, 334.38°)
OKLaboklab(49.4% 0.1672 -0.0746)
OKLCHoklch(49.4% 0.183 336)
XYZxyz(18.9133, 10.3648, 24.2923)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2888 #289C3C
analogous
#76289C #9C2888 #9C284E
triadic
#9C2888 #889C28 #28889C
tetradic
#9C2888 #9C7628 #289C3C #284E9C
square
#9C2888 #9C7628 #289C3C #284E9C
split-complementary
#9C2888 #4E9C28 #289C76
monochromatic
#3B0F33 #6B1C5E #9C2888 #CB36B2 #D867C4

Accessibility & contrast

On white

6.83
#9C2888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2888
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2888#FFFFFF#000000##FFFFFF
##9C28881.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8B
Deuteranopia (green-blind)
#526185
Tritanopia (blue-blind)
#A43055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2888;
/* rgb */ color: rgb(156, 40, 136);
/* oklch */ color: oklch(49.4% 0.183 336.0);
Tailwind
colors: {
  custom: {
    50: '#bd6eab',
    500: '#9c2888',
    950: '#000000',
  },
}
SCSS
$custom: #9c2888;
$custom-light: #bd6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2888",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 310.345,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.18306,
    "h": 336
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#9C2888
secondary
#62BE72
accent
#E26045
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2888

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

Preview Lab → · Contrast checker → · Palette generator →

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