#9D216C#9D216C

#9D216C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.174 H 348.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D216C
RGBrgb(157, 33, 108)
HSLhsl(324, 65%, 37%)
HSVhsv(324, 79%, 62%)
CMYKcmyk(0%, 79%, 31.2%, 38.4%)
CIE-LABlab(36.63, 55.71, -12.74)
CIE-LCHlch(36.63, 57.15, 347.12°)
OKLaboklab(47.67% 0.1703 -0.0334)
OKLCHoklch(47.67% 0.174 348.9)
XYZxyz(17.1562, 9.3405, 15.0839)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D216C #219D52
analogous
#90219D #9D216C #9D212E
triadic
#9D216C #6C9D21 #216C9D
tetradic
#9D216C #9D9021 #219D52 #212E9D
square
#9D216C #9D9021 #219D52 #212E9D
split-complementary
#9D216C #2E9D21 #219D90
monochromatic
#380C26 #6A1649 #9D216C #D02C8F #DD5CAA

Accessibility & contrast

On white

7.32
#9D216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D216C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D216C#FFFFFF#000000##FFFFFF
##9D216C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#A91944
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d216c;
/* rgb */ color: rgb(157, 33, 108);
/* oklch */ color: oklch(47.7% 0.174 348.9);
Tailwind
colors: {
  custom: {
    50: '#be6a96',
    500: '#9d216c',
    950: '#000000',
  },
}
SCSS
$custom: #9d216c;
$custom-light: #be6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d216c",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 323.71,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.17352,
    "h": 348.9
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#9D216C
secondary
#59C182
accent
#E88240
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D216C

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

Preview Lab → · Contrast checker → · Palette generator →

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