#9C216E#9C216E

#9C216E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.174 H 347.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9C216E
RGBrgb(156, 33, 110)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 61%)
CMYKcmyk(0%, 78.8%, 29.5%, 38.8%)
CIE-LABlab(36.52, 55.70, -14.19)
CIE-LCHlch(36.52, 57.48, 345.71°)
OKLaboklab(47.59% 0.1698 -0.0374)
OKLCHoklch(47.59% 0.174 347.6)
XYZxyz(17.0695, 9.2834, 15.6418)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C216E #219C4F
analogous
#8D219C #9C216E #9C2131
triadic
#9C216E #6E9C21 #216E9C
tetradic
#9C216E #9C8D21 #219C4F #21319C
square
#9C216E #9C8D21 #219C4F #21319C
split-complementary
#9C216E #319C21 #219C8D
monochromatic
#370C27 #69164A #9C216E #CF2C92 #DC5BAC

Accessibility & contrast

On white

7.35
#9C216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9C216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C216E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C216E#FFFFFF#000000##FFFFFF
##9C216E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#A71B45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c216e;
/* rgb */ color: rgb(156, 33, 110);
/* oklch */ color: oklch(47.6% 0.174 347.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a97',
    500: '#9c216e',
    950: '#000000',
  },
}
SCSS
$custom: #9c216e;
$custom-light: #bd6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c216e",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 322.439,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.17391,
    "h": 347.6
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#9C216E
secondary
#58C17F
accent
#E87F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C216E

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

Preview Lab → · Contrast checker → · Palette generator →

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