#9D216E#9D216E

#9D216E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 347.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9D216E
RGBrgb(157, 33, 110)
HSLhsl(323, 65%, 37%)
HSVhsv(323, 79%, 62%)
CMYKcmyk(0%, 79%, 29.9%, 38.4%)
CIE-LABlab(36.71, 55.95, -13.88)
CIE-LCHlch(36.71, 57.65, 346.07°)
OKLaboklab(47.76% 0.1707 -0.0366)
OKLCHoklch(47.76% 0.175 347.9)
XYZxyz(17.2638, 9.3836, 15.6509)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D216E #219D50
analogous
#8E219D #9D216E #9D2130
triadic
#9D216E #6E9D21 #216E9D
tetradic
#9D216E #9D8E21 #219D50 #21309D
square
#9D216E #9D8E21 #219D50 #21309D
split-complementary
#9D216E #309D21 #219D8E
monochromatic
#380C27 #6A164B #9D216E #D02C91 #DD5CAC

Accessibility & contrast

On white

7.30
#9D216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D216E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D216E#FFFFFF#000000##FFFFFF
##9D216E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#A91B45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d216e;
/* rgb */ color: rgb(157, 33, 110);
/* oklch */ color: oklch(47.8% 0.175 347.9);
Tailwind
colors: {
  custom: {
    50: '#be6a97',
    500: '#9d216e',
    950: '#000000',
  },
}
SCSS
$custom: #9d216e;
$custom-light: #be6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d216e",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 322.742,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.1746,
    "h": 347.9
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#9D216E
secondary
#59C180
accent
#E87F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D216E

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

Preview Lab → · Contrast checker → · Palette generator →

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