#9C2166#9C2166

#9C2166 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.170 H 351.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9C2166
RGBrgb(156, 33, 102)
HSLhsl(326, 65%, 37%)
HSVhsv(326, 79%, 61%)
CMYKcmyk(0%, 78.8%, 34.6%, 38.8%)
CIE-LABlab(36.21, 54.75, -9.59)
CIE-LCHlch(36.21, 55.58, 350.06°)
OKLaboklab(47.25% 0.1679 -0.0248)
OKLCHoklch(47.25% 0.17 351.6)
XYZxyz(16.6534, 9.1170, 13.4506)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2166 #219C57
analogous
#94219C #9C2166 #9C2129
triadic
#9C2166 #669C21 #21669C
tetradic
#9C2166 #9C9421 #219C57 #21299C
square
#9C2166 #9C9421 #219C57 #21299C
split-complementary
#9C2166 #299C21 #219C94
monochromatic
#370C24 #691645 #9C2166 #CF2C87 #DC5BA4

Accessibility & contrast

On white

7.44
#9C2166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9C2166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2166
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2166#FFFFFF#000000##FFFFFF
##9C21661.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#5B5D63
Tritanopia (blue-blind)
#A81541
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9c2166;
/* rgb */ color: rgb(156, 33, 102);
/* oklch */ color: oklch(47.3% 0.170 351.6);
Tailwind
colors: {
  custom: {
    50: '#be6a91',
    500: '#9c2166',
    950: '#000000',
  },
}
SCSS
$custom: #9c2166;
$custom-light: #be6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2166",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 326.341,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.16972,
    "h": 351.6
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#9C2166
secondary
#58C186
accent
#E88A40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9C2166

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

Preview Lab → · Contrast checker → · Palette generator →

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