#9C2173#9C2173

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

Color values

HEX#9C2173
RGBrgb(156, 33, 115)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 78.8%, 26.3%, 38.8%)
CIE-LABlab(36.73, 56.33, -17.02)
CIE-LCHlch(36.73, 58.84, 343.19°)
OKLaboklab(47.81% 0.1709 -0.0453)
OKLCHoklch(47.81% 0.177 345.2)
XYZxyz(17.3494, 9.3954, 17.1161)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2173 #219C4A
analogous
#88219C #9C2173 #9C2136
triadic
#9C2173 #739C21 #21739C
tetradic
#9C2173 #9C8821 #219C4A #21369C
square
#9C2173 #9C8821 #219C4A #21369C
split-complementary
#9C2173 #369C21 #219C88
monochromatic
#370C29 #69164E #9C2173 #CF2C98 #DC5BB1

Accessibility & contrast

On white

7.30
#9C2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2173
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2173#FFFFFF#000000##FFFFFF
##9C21731.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2173;
/* rgb */ color: rgb(156, 33, 115);
/* oklch */ color: oklch(47.8% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a9b',
    500: '#9c2173',
    950: '#000000',
  },
}
SCSS
$custom: #9c2173;
$custom-light: #bd6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2173",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 320,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.17677,
    "h": 345.2
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#9C2173
secondary
#58C17B
accent
#E87840
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2173

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

Preview Lab → · Contrast checker → · Palette generator →

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