#9F216B#9F216B

#9F216B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.174 H 350.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F216B
RGBrgb(159, 33, 107)
HSLhsl(325, 66%, 38%)
HSVhsv(325, 79%, 62%)
CMYKcmyk(0%, 79.2%, 32.7%, 37.6%)
CIE-LABlab(36.97, 56.11, -11.56)
CIE-LCHlch(36.97, 57.29, 348.36°)
OKLaboklab(47.98% 0.1718 -0.0302)
OKLCHoklch(47.98% 0.174 350)
XYZxyz(17.4968, 9.5223, 14.8236)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F216B #219F55
analogous
#94219F #9F216B #9F212C
triadic
#9F216B #6B9F21 #216B9F
tetradic
#9F216B #9F9421 #219F55 #212C9F
square
#9F216B #9F9421 #219F55 #212C9F
split-complementary
#9F216B #2C9F21 #219F94
monochromatic
#3A0C27 #6C1649 #9F216B #D22C8D #DD5DA8

Accessibility & contrast

On white

7.23
#9F216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F216B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F216B#FFFFFF#000000##FFFFFF
##9F216B1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496D
Deuteranopia (green-blind)
#5C5F68
Tritanopia (blue-blind)
#AB1743
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f216b;
/* rgb */ color: rgb(159, 33, 107);
/* oklch */ color: oklch(48.0% 0.174 350.0);
Tailwind
colors: {
  custom: {
    50: '#c06b95',
    500: '#9f216b',
    950: '#000000',
  },
}
SCSS
$custom: #9f216b;
$custom-light: #c06b95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f216b",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 324.762,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.17442,
    "h": 350
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#9F216B
secondary
#5AC285
accent
#E9853F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F216B

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

Preview Lab → · Contrast checker → · Palette generator →

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