#9C2D77#9C2D77

#9C2D77 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.166 H 344.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C2D77
RGBrgb(156, 45, 119)
HSLhsl(320, 55%, 39%)
HSVhsv(320, 71%, 61%)
CMYKcmyk(0%, 71.2%, 23.7%, 38.8%)
CIE-LABlab(38.34, 52.81, -17.06)
CIE-LCHlch(38.34, 55.49, 342.10°)
OKLaboklab(49.03% 0.1592 -0.0455)
OKLCHoklch(49.03% 0.166 344.1)
XYZxyz(17.9791, 10.2784, 18.4863)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D77 #2D9C52
analogous
#8A2D9C #9C2D77 #9C2D40
triadic
#9C2D77 #779C2D #2D779C
tetradic
#9C2D77 #9C8A2D #2D9C52 #2D409C
square
#9C2D77 #9C8A2D #2D9C52 #2D409C
split-complementary
#9C2D77 #409C2D #2D9C8A
monochromatic
#3D122F #6D1F53 #9C2D77 #C83F9A #D56EB3

Accessibility & contrast

On white

6.87
#9C2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2D77
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D77#FFFFFF#000000##FFFFFF
##9C2D771.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E79
Deuteranopia (green-blind)
#5A6174
Tritanopia (blue-blind)
#A62C4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2d77;
/* rgb */ color: rgb(156, 45, 119);
/* oklch */ color: oklch(49.0% 0.166 344.1);
Tailwind
colors: {
  custom: {
    50: '#bd709e',
    500: '#9c2d77',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d77;
$custom-light: #bd709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d77",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 320,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.16555,
    "h": 344.1
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#9C2D77
secondary
#68BC84
accent
#DF7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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