#9C217F#9C217F

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

Color values

HEX#9C217F
RGBrgb(156, 33, 127)
HSLhsl(314, 65%, 37%)
HSVhsv(314, 79%, 61%)
CMYKcmyk(0%, 78.8%, 18.6%, 38.8%)
CIE-LABlab(37.28, 57.93, -23.68)
CIE-LCHlch(37.28, 62.58, 337.77°)
OKLaboklab(48.38% 0.1728 -0.064)
OKLCHoklch(48.38% 0.184 339.7)
XYZxyz(18.0854, 9.6898, 20.9924)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C217F #219C3E
analogous
#7B219C #9C217F #9C2142
triadic
#9C217F #7F9C21 #217F9C
tetradic
#9C217F #9C7B21 #219C3E #21429C
square
#9C217F #9C7B21 #219C3E #21429C
split-complementary
#9C217F #429C21 #219C7B
monochromatic
#370C2D #691656 #9C217F #CF2CA8 #DC5BBE

Accessibility & contrast

On white

7.15
#9C217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C217F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C217F#FFFFFF#000000##FFFFFF
##9C217F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A5264E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c217f;
/* rgb */ color: rgb(156, 33, 127);
/* oklch */ color: oklch(48.4% 0.184 339.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ba4',
    500: '#9c217f',
    950: '#000000',
  },
}
SCSS
$custom: #9c217f;
$custom-light: #bd6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c217f",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 314.146,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.18427,
    "h": 339.7
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#9C217F
secondary
#58C171
accent
#E86740
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C217F

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

Preview Lab → · Contrast checker → · Palette generator →

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