#9E216B#9E216B

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

Color values

HEX#9E216B
RGBrgb(158, 33, 107)
HSLhsl(324, 65%, 37%)
HSVhsv(324, 79%, 62%)
CMYKcmyk(0%, 79.1%, 32.3%, 38%)
CIE-LABlab(36.78, 55.85, -11.86)
CIE-LCHlch(36.78, 57.10, 348.01°)
OKLaboklab(47.8% 0.1709 -0.031)
OKLCHoklch(47.8% 0.174 349.7)
XYZxyz(17.2992, 9.4204, 14.8144)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E216B #219E54
analogous
#93219E #9E216B #9E212D
triadic
#9E216B #6B9E21 #216B9E
tetradic
#9E216B #9E9321 #219E54 #212D9E
square
#9E216B #9E9321 #219E54 #212D9E
split-complementary
#9E216B #2D9E21 #219E93
monochromatic
#390C26 #6B1649 #9E216B #D12C8D #DD5CA9

Accessibility & contrast

On white

7.28
#9E216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E216B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E216B#FFFFFF#000000##FFFFFF
##9E216B1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37486D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#AA1843
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e216b;
/* rgb */ color: rgb(158, 33, 107);
/* oklch */ color: oklch(47.8% 0.174 349.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a95',
    500: '#9e216b',
    950: '#000000',
  },
}
SCSS
$custom: #9e216b;
$custom-light: #bf6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#9e216b",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 324.48,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.1737,
    "h": 349.7
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#9E216B
secondary
#59C184
accent
#E8843F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E216B

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

Preview Lab → · Contrast checker → · Palette generator →

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