#9F216C#9F216C

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

Color values

HEX#9F216C
RGBrgb(159, 33, 108)
HSLhsl(324, 66%, 38%)
HSVhsv(324, 79%, 62%)
CMYKcmyk(0%, 79.2%, 32.1%, 37.6%)
CIE-LABlab(37.01, 56.23, -12.13)
CIE-LCHlch(37.01, 57.52, 347.82°)
OKLaboklab(48.02% 0.172 -0.0317)
OKLCHoklch(48.02% 0.175 349.5)
XYZxyz(17.5497, 9.5434, 15.1023)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F216C #219F54
analogous
#93219F #9F216C #9F212D
triadic
#9F216C #6C9F21 #216C9F
tetradic
#9F216C #9F9321 #219F54 #212D9F
square
#9F216C #9F9321 #219F54 #212D9F
split-complementary
#9F216C #2D9F21 #219F93
monochromatic
#3A0C27 #6C164A #9F216C #D22C8E #DD5DA9

Accessibility & contrast

On white

7.22
#9F216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F216C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F216C#FFFFFF#000000##FFFFFF
##9F216C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#5C5F69
Tritanopia (blue-blind)
#AB1844
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f216c;
/* rgb */ color: rgb(159, 33, 108);
/* oklch */ color: oklch(48.0% 0.175 349.5);
Tailwind
colors: {
  custom: {
    50: '#c06b96',
    500: '#9f216c',
    950: '#000000',
  },
}
SCSS
$custom: #9f216c;
$custom-light: #c06b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f216c",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 324.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48018,
    "c": 0.17493,
    "h": 349.5
  },
  "luminance": 0.09541
}

Semantic roles & 50–950 ramp

primary
#9F216C
secondary
#5AC284
accent
#E9843F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F216C

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

Preview Lab → · Contrast checker → · Palette generator →

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