#9F216F#9F216F

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

Color values

HEX#9F216F
RGBrgb(159, 33, 111)
HSLhsl(323, 66%, 38%)
HSVhsv(323, 79%, 62%)
CMYKcmyk(0%, 79.2%, 30.2%, 37.6%)
CIE-LABlab(37.13, 56.58, -13.84)
CIE-LCHlch(37.13, 58.25, 346.25°)
OKLaboklab(48.14% 0.1727 -0.0364)
OKLCHoklch(48.14% 0.177 348.1)
XYZxyz(17.7121, 9.6084, 15.9577)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F216F #219F51
analogous
#90219F #9F216F #9F2130
triadic
#9F216F #6F9F21 #216F9F
tetradic
#9F216F #9F9021 #219F51 #21309F
square
#9F216F #9F9021 #219F51 #21309F
split-complementary
#9F216F #309F21 #219F90
monochromatic
#3A0C28 #6C164C #9F216F #D22C92 #DD5DAC

Accessibility & contrast

On white

7.19
#9F216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F216F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F216F#FFFFFF#000000##FFFFFF
##9F216F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#5B5F6C
Tritanopia (blue-blind)
#AB1A46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f216f;
/* rgb */ color: rgb(159, 33, 111);
/* oklch */ color: oklch(48.1% 0.177 348.1);
Tailwind
colors: {
  custom: {
    50: '#c06b98',
    500: '#9f216f',
    950: '#000000',
  },
}
SCSS
$custom: #9f216f;
$custom-light: #c06b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f216f",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 322.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.17653,
    "h": 348.1
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#9F216F
secondary
#5AC282
accent
#E9803F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F216F

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

Preview Lab → · Contrast checker → · Palette generator →

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