#9D216D#9D216D

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

Color values

HEX#9D216D
RGBrgb(157, 33, 109)
HSLhsl(323, 65%, 37%)
HSVhsv(323, 79%, 62%)
CMYKcmyk(0%, 79%, 30.6%, 38.4%)
CIE-LABlab(36.67, 55.83, -13.31)
CIE-LCHlch(36.67, 57.40, 346.59°)
OKLaboklab(47.72% 0.1705 -0.035)
OKLCHoklch(47.72% 0.174 348.4)
XYZxyz(17.2097, 9.3619, 15.3658)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D216D #219D51
analogous
#8F219D #9D216D #9D212F
triadic
#9D216D #6D9D21 #216D9D
tetradic
#9D216D #9D8F21 #219D51 #212F9D
square
#9D216D #9D8F21 #219D51 #212F9D
split-complementary
#9D216D #2F9D21 #219D8F
monochromatic
#380C27 #6A164A #9D216D #D02C90 #DD5CAB

Accessibility & contrast

On white

7.31
#9D216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D216D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D216D#FFFFFF#000000##FFFFFF
##9D216D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35496F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#A91A44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d216d;
/* rgb */ color: rgb(157, 33, 109);
/* oklch */ color: oklch(47.7% 0.174 348.4);
Tailwind
colors: {
  custom: {
    50: '#be6a97',
    500: '#9d216d',
    950: '#000000',
  },
}
SCSS
$custom: #9d216d;
$custom-light: #be6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d216d",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 323.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.17406,
    "h": 348.4
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#9D216D
secondary
#59C181
accent
#E88140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D216D

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

Preview Lab → · Contrast checker → · Palette generator →

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