#9C2C71#9C2C71

#9C2C71 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.163 H 347.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9C2C71
RGBrgb(156, 44, 113)
HSLhsl(323, 56%, 39%)
HSVhsv(323, 72%, 61%)
CMYKcmyk(0%, 71.8%, 27.6%, 38.8%)
CIE-LABlab(37.96, 52.38, -13.89)
CIE-LCHlch(37.96, 54.19, 345.15°)
OKLaboklab(48.67% 0.159 -0.0367)
OKLCHoklch(48.67% 0.163 347)
XYZxyz(17.5924, 10.0634, 16.6355)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C71 #2C9C57
analogous
#8F2C9C #9C2C71 #9C2C39
triadic
#9C2C71 #719C2C #2C719C
tetradic
#9C2C71 #9C8F2C #2C9C57 #2C399C
square
#9C2C71 #9C8F2C #2C9C57 #2C399C
split-complementary
#9C2C71 #399C2C #2C9C8F
monochromatic
#3D112C #6C1F4E #9C2C71 #C83D93 #D66DAD

Accessibility & contrast

On white

6.97
#9C2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2C71
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C71#FFFFFF#000000##FFFFFF
##9C2C711.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5C606E
Tritanopia (blue-blind)
#A7294A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2c71;
/* rgb */ color: rgb(156, 44, 113);
/* oklch */ color: oklch(48.7% 0.163 347.0);
Tailwind
colors: {
  custom: {
    50: '#bd6f9a',
    500: '#9c2c71',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c71;
$custom-light: #bd6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c71",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 323.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.16318,
    "h": 347
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#9C2C71
secondary
#67BD88
accent
#DF8249
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9C2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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