#9C2172#9C2172

#9C2172 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 345.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9C2172
RGBrgb(156, 33, 114)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 78.8%, 26.9%, 38.8%)
CIE-LABlab(36.69, 56.20, -16.45)
CIE-LCHlch(36.69, 58.56, 343.68°)
OKLaboklab(47.76% 0.1707 -0.0437)
OKLCHoklch(47.76% 0.176 345.6)
XYZxyz(17.2922, 9.3725, 16.8147)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2172 #219C4B
analogous
#89219C #9C2172 #9C2135
triadic
#9C2172 #729C21 #21729C
tetradic
#9C2172 #9C8921 #219C4B #21359C
square
#9C2172 #9C8921 #219C4B #21359C
split-complementary
#9C2172 #359C21 #219C89
monochromatic
#370C28 #69164D #9C2172 #CF2C97 #DC5BB0

Accessibility & contrast

On white

7.31
#9C2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2172
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2172#FFFFFF#000000##FFFFFF
##9C21721.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A71E47
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2172;
/* rgb */ color: rgb(156, 33, 114);
/* oklch */ color: oklch(47.8% 0.176 345.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9c2172',
    950: '#000000',
  },
}
SCSS
$custom: #9c2172;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2172",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 320.488,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.17619,
    "h": 345.6
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#9C2172
secondary
#58C17C
accent
#E87940
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2172

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

Preview Lab → · Contrast checker → · Palette generator →

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