#9D217A#9D217A

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

Color values

HEX#9D217A
RGBrgb(157, 33, 122)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 62%)
CMYKcmyk(0%, 79%, 22.3%, 38.4%)
CIE-LABlab(37.23, 57.49, -20.62)
CIE-LCHlch(37.23, 61.08, 340.26°)
OKLaboklab(48.3% 0.173 -0.0554)
OKLCHoklch(48.3% 0.182 342.2)
XYZxyz(17.9620, 9.6629, 19.3278)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D217A #219D44
analogous
#82219D #9D217A #9D213C
triadic
#9D217A #7A9D21 #217A9D
tetradic
#9D217A #9D8221 #219D44 #213C9D
square
#9D217A #9D8221 #219D44 #213C9D
split-complementary
#9D217A #3C9D21 #219D82
monochromatic
#380C2B #6A1653 #9D217A #D02CA1 #DD5CB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D217A#FFFFFF#000000##FFFFFF
##9D217A1.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)
#2E4B7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A7234B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d217a;
/* rgb */ color: rgb(157, 33, 122);
/* oklch */ color: oklch(48.3% 0.182 342.2);
Tailwind
colors: {
  custom: {
    50: '#be6ba0',
    500: '#9d217a',
    950: '#000000',
  },
}
SCSS
$custom: #9d217a;
$custom-light: #be6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d217a",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 316.935,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.18167,
    "h": 342.2
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#9D217A
secondary
#59C176
accent
#E86F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D217A

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

Preview Lab → · Contrast checker → · Palette generator →

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