#9C2E77#9C2E77

#9C2E77 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.164 H 344.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9C2E77
RGBrgb(156, 46, 119)
HSLhsl(320, 54%, 40%)
HSVhsv(320, 71%, 61%)
CMYKcmyk(0%, 70.5%, 23.7%, 38.8%)
CIE-LABlab(38.47, 52.43, -16.85)
CIE-LCHlch(38.47, 55.07, 342.18°)
OKLaboklab(49.13% 0.158 -0.0449)
OKLCHoklch(49.13% 0.164 344.1)
XYZxyz(18.0177, 10.3557, 18.4991)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E77 #2E9C53
analogous
#8A2E9C #9C2E77 #9C2E40
triadic
#9C2E77 #779C2E #2E779C
tetradic
#9C2E77 #9C8A2E #2E9C53 #2E409C
square
#9C2E77 #9C8A2E #2E9C53 #2E409C
split-complementary
#9C2E77 #409C2E #2E9C8A
monochromatic
#3D122F #6D2053 #9C2E77 #C7409A #D570B3

Accessibility & contrast

On white

6.84
#9C2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2E77
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E77#FFFFFF#000000##FFFFFF
##9C2E771.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#A62D4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2e77;
/* rgb */ color: rgb(156, 46, 119);
/* oklch */ color: oklch(49.1% 0.164 344.1);
Tailwind
colors: {
  custom: {
    50: '#bd709e',
    500: '#9c2e77',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e77;
$custom-light: #bd709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e77",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 320.182,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.16428,
    "h": 344.1
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#9C2E77
secondary
#6ABC85
accent
#DE7C4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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