#9C2771#9C2771

#9C2771 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.169 H 346.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C2771
RGBrgb(156, 39, 113)
HSLhsl(322, 60%, 38%)
HSVhsv(322, 75%, 61%)
CMYKcmyk(0%, 75%, 27.6%, 38.8%)
CIE-LABlab(37.32, 54.16, -14.86)
CIE-LCHlch(37.32, 56.16, 344.66°)
OKLaboklab(48.21% 0.1645 -0.0393)
OKLCHoklch(48.21% 0.169 346.6)
XYZxyz(17.4173, 9.7131, 16.5772)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2771 #279C52
analogous
#8C279C #9C2771 #9C2737
triadic
#9C2771 #719C27 #27719C
tetradic
#9C2771 #9C8C27 #279C52 #27379C
square
#9C2771 #9C8C27 #279C52 #27379C
split-complementary
#9C2771 #379C27 #279C8C
monochromatic
#3A0F2A #6B1B4E #9C2771 #CC3494 #D865AE

Accessibility & contrast

On white

7.14
#9C2771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C2771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2771
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2771#FFFFFF#000000##FFFFFF
##9C27711.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A72349
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2771;
/* rgb */ color: rgb(156, 39, 113);
/* oklch */ color: oklch(48.2% 0.169 346.6);
Tailwind
colors: {
  custom: {
    50: '#bd6d9a',
    500: '#9c2771',
    950: '#000000',
  },
}
SCSS
$custom: #9c2771;
$custom-light: #bd6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2771",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 322.051,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.16916,
    "h": 346.6
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#9C2771
secondary
#61BE83
accent
#E37F45
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2771

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

Preview Lab → · Contrast checker → · Palette generator →

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