#9C217B#9C217B

#9C217B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 341.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9C217B
RGBrgb(156, 33, 123)
HSLhsl(316, 65%, 37%)
HSVhsv(316, 79%, 61%)
CMYKcmyk(0%, 78.8%, 21.2%, 38.8%)
CIE-LABlab(37.09, 57.38, -21.48)
CIE-LCHlch(37.09, 61.27, 339.48°)
OKLaboklab(48.18% 0.1722 -0.0578)
OKLCHoklch(48.18% 0.182 341.4)
XYZxyz(17.8299, 9.5875, 19.6466)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C217B #219C42
analogous
#80219C #9C217B #9C213D
triadic
#9C217B #7B9C21 #217B9C
tetradic
#9C217B #9C8021 #219C42 #213D9C
square
#9C217B #9C8021 #219C42 #213D9C
split-complementary
#9C217B #3D9C21 #219C80
monochromatic
#370C2B #691653 #9C217B #CF2CA3 #DC5BBA

Accessibility & contrast

On white

7.20
#9C217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C217B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C217B#FFFFFF#000000##FFFFFF
##9C217B1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7D
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#A6244C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c217b;
/* rgb */ color: rgb(156, 33, 123);
/* oklch */ color: oklch(48.2% 0.182 341.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ba1',
    500: '#9c217b',
    950: '#000000',
  },
}
SCSS
$custom: #9c217b;
$custom-light: #bd6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c217b",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 316.098,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.18169,
    "h": 341.4
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#9C217B
secondary
#58C174
accent
#E86D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9C217B

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

Preview Lab → · Contrast checker → · Palette generator →

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