#9C217E#9C217E

#9C217E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.184 H 340.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9C217E
RGBrgb(156, 33, 126)
HSLhsl(315, 65%, 37%)
HSVhsv(315, 79%, 61%)
CMYKcmyk(0%, 78.8%, 19.2%, 38.8%)
CIE-LABlab(37.23, 57.79, -23.13)
CIE-LCHlch(37.23, 62.25, 338.19°)
OKLaboklab(48.33% 0.1727 -0.0625)
OKLCHoklch(48.33% 0.184 340.1)
XYZxyz(18.0206, 9.6638, 20.6509)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C217E #219C3F
analogous
#7D219C #9C217E #9C2141
triadic
#9C217E #7E9C21 #217E9C
tetradic
#9C217E #9C7D21 #219C3F #21419C
square
#9C217E #9C7D21 #219C3F #21419C
split-complementary
#9C217E #419C21 #219C7D
monochromatic
#370C2C #691655 #9C217E #CF2CA7 #DC5BBD

Accessibility & contrast

On white

7.16
#9C217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9C217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C217E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C217E#FFFFFF#000000##FFFFFF
##9C217E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A6254E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c217e;
/* rgb */ color: rgb(156, 33, 126);
/* oklch */ color: oklch(48.3% 0.184 340.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ba3',
    500: '#9c217e',
    950: '#000000',
  },
}
SCSS
$custom: #9c217e;
$custom-light: #bd6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c217e",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 314.634,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.18361,
    "h": 340.1
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#9C217E
secondary
#58C172
accent
#E86940
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C217E

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

Preview Lab → · Contrast checker → · Palette generator →

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