#9E216F#9E216F

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

Color values

HEX#9E216F
RGBrgb(158, 33, 111)
HSLhsl(323, 65%, 37%)
HSVhsv(323, 79%, 62%)
CMYKcmyk(0%, 79.1%, 29.7%, 38%)
CIE-LABlab(36.94, 56.33, -14.15)
CIE-LCHlch(36.94, 58.08, 345.90°)
OKLaboklab(47.97% 0.1718 -0.0373)
OKLCHoklch(47.97% 0.176 347.8)
XYZxyz(17.5145, 9.5065, 15.9484)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E216F #219E50
analogous
#8F219E #9E216F #9E2131
triadic
#9E216F #6F9E21 #216F9E
tetradic
#9E216F #9E8F21 #219E50 #21319E
square
#9E216F #9E8F21 #219E50 #21319E
split-complementary
#9E216F #319E21 #219E8F
monochromatic
#390C28 #6B164B #9E216F #D12C93 #DD5CAD

Accessibility & contrast

On white

7.24
#9E216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E216F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E216F#FFFFFF#000000##FFFFFF
##9E216F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e216f;
/* rgb */ color: rgb(158, 33, 111);
/* oklch */ color: oklch(48.0% 0.176 347.8);
Tailwind
colors: {
  custom: {
    50: '#bf6b98',
    500: '#9e216f',
    950: '#000000',
  },
}
SCSS
$custom: #9e216f;
$custom-light: #bf6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9e216f",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 322.56,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.17584,
    "h": 347.8
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#9E216F
secondary
#59C180
accent
#E87F3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E216F

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

Preview Lab → · Contrast checker → · Palette generator →

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