#9F216D#9F216D

#9F216D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.175 H 349.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F216D
RGBrgb(159, 33, 109)
HSLhsl(324, 66%, 38%)
HSVhsv(324, 79%, 62%)
CMYKcmyk(0%, 79.2%, 31.4%, 37.6%)
CIE-LABlab(37.05, 56.34, -12.70)
CIE-LCHlch(37.05, 57.76, 347.29°)
OKLaboklab(48.06% 0.1723 -0.0333)
OKLCHoklch(48.06% 0.175 349.1)
XYZxyz(17.6032, 9.5648, 15.3842)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F216D #219F53
analogous
#92219F #9F216D #9F212E
triadic
#9F216D #6D9F21 #216D9F
tetradic
#9F216D #9F9221 #219F53 #212E9F
square
#9F216D #9F9221 #219F53 #212E9F
split-complementary
#9F216D #2E9F21 #219F92
monochromatic
#3A0C28 #6C164A #9F216D #D22C90 #DD5DAA

Accessibility & contrast

On white

7.21
#9F216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F216D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F216D#FFFFFF#000000##FFFFFF
##9F216D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#AB1944
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f216d;
/* rgb */ color: rgb(159, 33, 109);
/* oklch */ color: oklch(48.1% 0.175 349.1);
Tailwind
colors: {
  custom: {
    50: '#c06b97',
    500: '#9f216d',
    950: '#000000',
  },
}
SCSS
$custom: #9f216d;
$custom-light: #c06b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f216d",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 323.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.17546,
    "h": 349.1
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#9F216D
secondary
#5AC283
accent
#E9823F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F216D

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

Preview Lab → · Contrast checker → · Palette generator →

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