#9C2C79#9C2C79

#9C2C79 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.168 H 343.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9C2C79
RGBrgb(156, 44, 121)
HSLhsl(319, 56%, 39%)
HSVhsv(319, 72%, 61%)
CMYKcmyk(0%, 71.8%, 22.4%, 38.8%)
CIE-LABlab(38.29, 53.46, -18.38)
CIE-LCHlch(38.29, 56.53, 341.03°)
OKLaboklab(49.02% 0.1607 -0.0492)
OKLCHoklch(49.02% 0.168 343)
XYZxyz(18.0628, 10.2516, 19.1129)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C79 #2C9C4F
analogous
#872C9C #9C2C79 #9C2C41
triadic
#9C2C79 #799C2C #2C799C
tetradic
#9C2C79 #9C872C #2C9C4F #2C419C
square
#9C2C79 #9C872C #2C9C4F #2C419C
split-complementary
#9C2C79 #419C2C #2C9C87
monochromatic
#3D112F #6C1F54 #9C2C79 #C83D9D #D66DB5

Accessibility & contrast

On white

6.89
#9C2C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2C79
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C79#FFFFFF#000000##FFFFFF
##9C2C791.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A62C4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2c79;
/* rgb */ color: rgb(156, 44, 121);
/* oklch */ color: oklch(49.0% 0.168 343.0);
Tailwind
colors: {
  custom: {
    50: '#bd6fa0',
    500: '#9c2c79',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c79;
$custom-light: #bd6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c79",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 318.75,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.16809,
    "h": 343
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#9C2C79
secondary
#67BD82
accent
#DF7849
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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