#9F216E#9F216E

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

Color values

HEX#9F216E
RGBrgb(159, 33, 110)
HSLhsl(323, 66%, 38%)
HSVhsv(323, 79%, 62%)
CMYKcmyk(0%, 79.2%, 30.8%, 37.6%)
CIE-LABlab(37.09, 56.46, -13.27)
CIE-LCHlch(37.09, 58.00, 346.77°)
OKLaboklab(48.1% 0.1725 -0.0349)
OKLCHoklch(48.1% 0.176 348.6)
XYZxyz(17.6573, 9.5865, 15.6693)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F216E #219F52
analogous
#91219F #9F216E #9F212F
triadic
#9F216E #6E9F21 #216E9F
tetradic
#9F216E #9F9121 #219F52 #212F9F
square
#9F216E #9F9121 #219F52 #212F9F
split-complementary
#9F216E #2F9F21 #219F91
monochromatic
#3A0C28 #6C164B #9F216E #D22C91 #DD5DAB

Accessibility & contrast

On white

7.20
#9F216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F216E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F216E#FFFFFF#000000##FFFFFF
##9F216E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#AB1945
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f216e;
/* rgb */ color: rgb(159, 33, 110);
/* oklch */ color: oklch(48.1% 0.176 348.6);
Tailwind
colors: {
  custom: {
    50: '#c06b97',
    500: '#9f216e',
    950: '#000000',
  },
}
SCSS
$custom: #9f216e;
$custom-light: #c06b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f216e",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 323.333,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.17599,
    "h": 348.6
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F216E

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

Preview Lab → · Contrast checker → · Palette generator →

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