#9C2170#9C2170

#9C2170 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.175 H 346.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9C2170
RGBrgb(156, 33, 112)
HSLhsl(321, 65%, 37%)
HSVhsv(321, 79%, 61%)
CMYKcmyk(0%, 78.8%, 28.2%, 38.8%)
CIE-LABlab(36.61, 55.95, -15.32)
CIE-LCHlch(36.61, 58.01, 344.68°)
OKLaboklab(47.67% 0.1703 -0.0406)
OKLCHoklch(47.67% 0.175 346.6)
XYZxyz(17.1796, 9.3274, 16.2217)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2170 #219C4D
analogous
#8A219C #9C2170 #9C2133
triadic
#9C2170 #709C21 #21709C
tetradic
#9C2170 #9C8A21 #219C4D #21339C
square
#9C2170 #9C8A21 #219C4D #21339C
split-complementary
#9C2170 #339C21 #219C8A
monochromatic
#370C27 #69164C #9C2170 #CF2C94 #DC5BAE

Accessibility & contrast

On white

7.33
#9C2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2170
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2170#FFFFFF#000000##FFFFFF
##9C21701.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#585E6D
Tritanopia (blue-blind)
#A71D46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2170;
/* rgb */ color: rgb(156, 33, 112);
/* oklch */ color: oklch(47.7% 0.175 346.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a99',
    500: '#9c2170',
    950: '#000000',
  },
}
SCSS
$custom: #9c2170;
$custom-light: #bd6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2170",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 321.463,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.17504,
    "h": 346.6
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#9C2170
secondary
#58C17E
accent
#E87C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2170

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

Preview Lab → · Contrast checker → · Palette generator →

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