#9E216D#9E216D

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

Color values

HEX#9E216D
RGBrgb(158, 33, 109)
HSLhsl(324, 65%, 37%)
HSVhsv(324, 79%, 62%)
CMYKcmyk(0%, 79.1%, 31%, 38%)
CIE-LABlab(36.86, 56.09, -13.01)
CIE-LCHlch(36.86, 57.58, 346.94°)
OKLaboklab(47.89% 0.1714 -0.0341)
OKLCHoklch(47.89% 0.175 348.7)
XYZxyz(17.4057, 9.4630, 15.3750)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E216D #219E52
analogous
#91219E #9E216D #9E212F
triadic
#9E216D #6D9E21 #216D9E
tetradic
#9E216D #9E9121 #219E52 #212F9E
square
#9E216D #9E9121 #219E52 #212F9E
split-complementary
#9E216D #2F9E21 #219E91
monochromatic
#390C27 #6B164A #9E216D #D12C90 #DD5CAB

Accessibility & contrast

On white

7.26
#9E216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E216D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E216D#FFFFFF#000000##FFFFFF
##9E216D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#AA1944
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e216d;
/* rgb */ color: rgb(158, 33, 109);
/* oklch */ color: oklch(47.9% 0.175 348.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a97',
    500: '#9e216d',
    950: '#000000',
  },
}
SCSS
$custom: #9e216d;
$custom-light: #bf6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e216d",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 323.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.17476,
    "h": 348.7
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#9E216D
secondary
#59C182
accent
#E8823F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E216D

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

Preview Lab → · Contrast checker → · Palette generator →

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