#9C2178#9C2178

#9C2178 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.180 H 342.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9C2178
RGBrgb(156, 33, 120)
HSLhsl(318, 65%, 37%)
HSVhsv(318, 79%, 61%)
CMYKcmyk(0%, 78.8%, 23.1%, 38.8%)
CIE-LABlab(36.95, 56.98, -19.82)
CIE-LCHlch(36.95, 60.32, 340.82°)
OKLaboklab(48.04% 0.1718 -0.0531)
OKLCHoklch(48.04% 0.18 342.8)
XYZxyz(17.6450, 9.5136, 18.6727)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2178 #219C45
analogous
#83219C #9C2178 #9C213B
triadic
#9C2178 #789C21 #21789C
tetradic
#9C2178 #9C8321 #219C45 #213B9C
square
#9C2178 #9C8321 #219C45 #213B9C
split-complementary
#9C2178 #3B9C21 #219C83
monochromatic
#370C2A #691651 #9C2178 #CF2C9F #DC5BB6

Accessibility & contrast

On white

7.24
#9C2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9C2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2178
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2178#FFFFFF#000000##FFFFFF
##9C21781.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#565E75
Tritanopia (blue-blind)
#A6224A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2178;
/* rgb */ color: rgb(156, 33, 120);
/* oklch */ color: oklch(48.0% 0.180 342.8);
Tailwind
colors: {
  custom: {
    50: '#bd6b9f',
    500: '#9c2178',
    950: '#000000',
  },
}
SCSS
$custom: #9c2178;
$custom-light: #bd6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2178",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 317.561,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.1798,
    "h": 342.8
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#9C2178
secondary
#58C177
accent
#E87140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2178

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

Preview Lab → · Contrast checker → · Palette generator →

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