#9C217A#9C217A

#9C217A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.181 H 341.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9C217A
RGBrgb(156, 33, 122)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 61%)
CMYKcmyk(0%, 78.8%, 21.8%, 38.8%)
CIE-LABlab(37.05, 57.25, -20.93)
CIE-LCHlch(37.05, 60.95, 339.92°)
OKLaboklab(48.14% 0.1721 -0.0563)
OKLCHoklch(48.14% 0.181 341.9)
XYZxyz(17.7676, 9.5626, 19.3186)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C217A #219C43
analogous
#80219C #9C217A #9C213D
triadic
#9C217A #7A9C21 #217A9C
tetradic
#9C217A #9C8021 #219C43 #213D9C
square
#9C217A #9C8021 #219C43 #213D9C
split-complementary
#9C217A #3D9C21 #219C80
monochromatic
#370C2B #691652 #9C217A #CF2CA2 #DC5BB9

Accessibility & contrast

On white

7.21
#9C217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C217A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C217A#FFFFFF#000000##FFFFFF
##9C217A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A6234B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c217a;
/* rgb */ color: rgb(156, 33, 122);
/* oklch */ color: oklch(48.1% 0.181 341.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ba0',
    500: '#9c217a',
    950: '#000000',
  },
}
SCSS
$custom: #9c217a;
$custom-light: #bd6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c217a",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 316.585,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.18105,
    "h": 341.9
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#9C217A
secondary
#58C175
accent
#E86E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C217A

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

Preview Lab → · Contrast checker → · Palette generator →

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