#8E216D#8E216D

#8E216D is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.164 H 343.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8E216D
RGBrgb(142, 33, 109)
HSLhsl(318, 62%, 34%)
HSVhsv(318, 77%, 56%)
CMYKcmyk(0%, 76.8%, 23.2%, 44.3%)
CIE-LABlab(33.87, 51.98, -17.86)
CIE-LCHlch(33.87, 54.96, 341.04°)
OKLaboklab(45.16% 0.1566 -0.0478)
OKLCHoklch(45.16% 0.164 343)
XYZxyz(14.4600, 7.9441, 15.2369)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E216D #218E42
analogous
#79218E #8E216D #8E2137
triadic
#8E216D #6D8E21 #216D8E
tetradic
#8E216D #8E7921 #218E42 #21378E
square
#8E216D #8E7921 #218E42 #21378E
split-complementary
#8E216D #378E21 #218E79
monochromatic
#2B0A21 #5C1547 #8E216D #C02D93 #D752AF

Accessibility & contrast

On white

8.11
#8E216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E216D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E216D#FFFFFF#000000##FFFFFF
##8E216D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#4F566B
Tritanopia (blue-blind)
#972144
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e216d;
/* rgb */ color: rgb(142, 33, 109);
/* oklch */ color: oklch(45.2% 0.164 343.0);
Tailwind
colors: {
  custom: {
    50: '#b36897',
    500: '#8e216d',
    950: '#000000',
  },
}
SCSS
$custom: #8e216d;
$custom-light: #b36897;
$custom-dark: #000000;
JSON
{
  "hex": "#8e216d",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 318.165,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.16376,
    "h": 343
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#8E216D
secondary
#50BA70
accent
#E57442
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E216D

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

Preview Lab → · Contrast checker → · Palette generator →

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