#9E216A#9E216A

#9E216A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.173 H 350.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E216A
RGBrgb(158, 33, 106)
HSLhsl(325, 65%, 37%)
HSVhsv(325, 79%, 62%)
CMYKcmyk(0%, 79.1%, 32.9%, 38%)
CIE-LABlab(36.74, 55.73, -11.29)
CIE-LCHlch(36.74, 56.86, 348.55°)
OKLaboklab(47.76% 0.1707 -0.0294)
OKLCHoklch(47.76% 0.173 350.2)
XYZxyz(17.2469, 9.3995, 14.5389)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E216A #219E55
analogous
#94219E #9E216A #9E212C
triadic
#9E216A #6A9E21 #216A9E
tetradic
#9E216A #9E9421 #219E55 #212C9E
square
#9E216A #9E9421 #219E55 #212C9E
split-complementary
#9E216A #2C9E21 #219E94
monochromatic
#390C26 #6B1648 #9E216A #D12C8C #DD5CA8

Accessibility & contrast

On white

7.29
#9E216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E216A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E216A#FFFFFF#000000##FFFFFF
##9E216A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37486C
Deuteranopia (green-blind)
#5C5E67
Tritanopia (blue-blind)
#AA1743
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e216a;
/* rgb */ color: rgb(158, 33, 106);
/* oklch */ color: oklch(47.8% 0.173 350.2);
Tailwind
colors: {
  custom: {
    50: '#bf6a94',
    500: '#9e216a',
    950: '#000000',
  },
}
SCSS
$custom: #9e216a;
$custom-light: #bf6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#9e216a",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 324.96,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.17318,
    "h": 350.2
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#9E216A
secondary
#59C185
accent
#E8863F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E216A

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

Preview Lab → · Contrast checker → · Palette generator →

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