#8E216E#8E216E

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

Color values

HEX#8E216E
RGBrgb(142, 33, 110)
HSLhsl(318, 62%, 34%)
HSVhsv(318, 77%, 56%)
CMYKcmyk(0%, 76.8%, 22.5%, 44.3%)
CIE-LABlab(33.91, 52.12, -18.42)
CIE-LCHlch(33.91, 55.28, 340.53°)
OKLaboklab(45.21% 0.1568 -0.0494)
OKLCHoklch(45.21% 0.164 342.5)
XYZxyz(14.5142, 7.9658, 15.5220)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E216E #218E41
analogous
#78218E #8E216E #8E2137
triadic
#8E216E #6E8E21 #216E8E
tetradic
#8E216E #8E7821 #218E41 #21378E
square
#8E216E #8E7821 #218E41 #21378E
split-complementary
#8E216E #378E21 #218E78
monochromatic
#2B0A21 #5C1548 #8E216E #C02D94 #D752B0

Accessibility & contrast

On white

8.10
#8E216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E216E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E216E#FFFFFF#000000##FFFFFF
##8E216E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#972245
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e216e;
/* rgb */ color: rgb(142, 33, 110);
/* oklch */ color: oklch(45.2% 0.164 342.5);
Tailwind
colors: {
  custom: {
    50: '#b36897',
    500: '#8e216e',
    950: '#000000',
  },
}
SCSS
$custom: #8e216e;
$custom-light: #b36897;
$custom-dark: #000000;
JSON
{
  "hex": "#8e216e",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 317.615,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45207,
    "c": 0.16439,
    "h": 342.5
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E216E

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

Preview Lab → · Contrast checker → · Palette generator →

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