#9C217D#9C217D

#9C217D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.183 H 340.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9C217D
RGBrgb(156, 33, 125)
HSLhsl(315, 65%, 37%)
HSVhsv(315, 79%, 61%)
CMYKcmyk(0%, 78.8%, 19.9%, 38.8%)
CIE-LABlab(37.18, 57.65, -22.58)
CIE-LCHlch(37.18, 61.92, 338.61°)
OKLaboklab(48.28% 0.1725 -0.0609)
OKLCHoklch(48.28% 0.183 340.5)
XYZxyz(17.9564, 9.6381, 20.3127)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C217D #219C40
analogous
#7E219C #9C217D #9C2140
triadic
#9C217D #7D9C21 #217D9C
tetradic
#9C217D #9C7E21 #219C40 #21409C
square
#9C217D #9C7E21 #219C40 #21409C
split-complementary
#9C217D #409C21 #219C7E
monochromatic
#370C2C #691655 #9C217D #CF2CA5 #DC5BBC

Accessibility & contrast

On white

7.17
#9C217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C217D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C217D#FFFFFF#000000##FFFFFF
##9C217D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#A6254D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c217d;
/* rgb */ color: rgb(156, 33, 125);
/* oklch */ color: oklch(48.3% 0.183 340.5);
Tailwind
colors: {
  custom: {
    50: '#bd6ba3',
    500: '#9c217d',
    950: '#000000',
  },
}
SCSS
$custom: #9c217d;
$custom-light: #bd6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c217d",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 315.122,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.18297,
    "h": 340.5
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#9C217D
secondary
#58C173
accent
#E86A40
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C217D

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

Preview Lab → · Contrast checker → · Palette generator →

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