#9C2876#9C2876

#9C2876 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 344.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9C2876
RGBrgb(156, 40, 118)
HSLhsl(320, 59%, 38%)
HSVhsv(320, 74%, 61%)
CMYKcmyk(0%, 74.4%, 24.4%, 38.8%)
CIE-LABlab(37.65, 54.47, -17.49)
CIE-LCHlch(37.65, 57.21, 342.20°)
OKLaboklab(48.52% 0.1645 -0.0466)
OKLCHoklch(48.52% 0.171 344.2)
XYZxyz(17.7398, 9.8954, 18.1118)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2876 #289C4E
analogous
#88289C #9C2876 #9C283C
triadic
#9C2876 #769C28 #28769C
tetradic
#9C2876 #9C8828 #289C4E #283C9C
square
#9C2876 #9C8828 #289C4E #283C9C
split-complementary
#9C2876 #3C9C28 #289C88
monochromatic
#3B0F2C #6B1C51 #9C2876 #CB369A #D867B3

Accessibility & contrast

On white

7.05
#9C2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C2876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2876
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2876#FFFFFF#000000##FFFFFF
##9C28761.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#A6274B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2876;
/* rgb */ color: rgb(156, 40, 118);
/* oklch */ color: oklch(48.5% 0.171 344.2);
Tailwind
colors: {
  custom: {
    50: '#bd6d9d',
    500: '#9c2876',
    950: '#000000',
  },
}
SCSS
$custom: #9c2876;
$custom-light: #bd6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2876",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 319.655,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.171,
    "h": 344.2
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#9C2876
secondary
#62BE80
accent
#E27945
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2876

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

Preview Lab → · Contrast checker → · Palette generator →

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