#9C2174#9C2174

#9C2174 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.177 H 344.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9C2174
RGBrgb(156, 33, 116)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 78.8%, 25.6%, 38.8%)
CIE-LABlab(36.78, 56.45, -17.58)
CIE-LCHlch(36.78, 59.13, 342.70°)
OKLaboklab(47.85% 0.1711 -0.0468)
OKLCHoklch(47.85% 0.177 344.7)
XYZxyz(17.4073, 9.4185, 17.4208)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2174 #219C49
analogous
#87219C #9C2174 #9C2137
triadic
#9C2174 #749C21 #21749C
tetradic
#9C2174 #9C8721 #219C49 #21379C
square
#9C2174 #9C8721 #219C49 #21379C
split-complementary
#9C2174 #379C21 #219C87
monochromatic
#370C29 #69164E #9C2174 #CF2C9A #DC5BB2

Accessibility & contrast

On white

7.28
#9C2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9C2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2174
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2174#FFFFFF#000000##FFFFFF
##9C21741.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#A71F48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2174;
/* rgb */ color: rgb(156, 33, 116);
/* oklch */ color: oklch(47.9% 0.177 344.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a9c',
    500: '#9c2174',
    950: '#000000',
  },
}
SCSS
$custom: #9c2174;
$custom-light: #bd6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2174",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 319.512,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.17736,
    "h": 344.7
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#9C2174
secondary
#58C17A
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2174

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

Preview Lab → · Contrast checker → · Palette generator →

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