#9C2176#9C2176

#9C2176 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.179 H 343.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9C2176
RGBrgb(156, 33, 118)
HSLhsl(319, 65%, 37%)
HSVhsv(319, 79%, 61%)
CMYKcmyk(0%, 78.8%, 24.4%, 38.8%)
CIE-LABlab(36.87, 56.71, -18.70)
CIE-LCHlch(36.87, 59.72, 341.75°)
OKLaboklab(47.95% 0.1714 -0.05)
OKLCHoklch(47.95% 0.179 343.7)
XYZxyz(17.5249, 9.4655, 18.0401)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2176 #219C47
analogous
#85219C #9C2176 #9C2138
triadic
#9C2176 #769C21 #21769C
tetradic
#9C2176 #9C8521 #219C47 #21389C
square
#9C2176 #9C8521 #219C47 #21389C
split-complementary
#9C2176 #389C21 #219C85
monochromatic
#370C2A #691650 #9C2176 #CF2C9C #DC5BB4

Accessibility & contrast

On white

7.26
#9C2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9C2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2176
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2176#FFFFFF#000000##FFFFFF
##9C21761.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A62149
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2176;
/* rgb */ color: rgb(156, 33, 118);
/* oklch */ color: oklch(47.9% 0.179 343.7);
Tailwind
colors: {
  custom: {
    50: '#bd6b9d',
    500: '#9c2176',
    950: '#000000',
  },
}
SCSS
$custom: #9c2176;
$custom-light: #bd6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2176",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 318.537,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.17857,
    "h": 343.7
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#9C2176
secondary
#58C178
accent
#E87440
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2176

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

Preview Lab → · Contrast checker → · Palette generator →

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