#8E216A#8E216A

#8E216A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.162 H 344.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8E216A
RGBrgb(142, 33, 106)
HSLhsl(320, 62%, 34%)
HSVhsv(320, 77%, 56%)
CMYKcmyk(0%, 76.8%, 25.4%, 44.3%)
CIE-LABlab(33.73, 51.57, -16.15)
CIE-LCHlch(33.73, 54.04, 342.61°)
OKLaboklab(45.02% 0.1561 -0.043)
OKLCHoklch(45.02% 0.162 344.6)
XYZxyz(14.3013, 7.8806, 14.4008)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E216A #218E45
analogous
#7C218E #8E216A #8E2133
triadic
#8E216A #6A8E21 #216A8E
tetradic
#8E216A #8E7C21 #218E45 #21338E
square
#8E216A #8E7C21 #218E45 #21338E
split-complementary
#8E216A #338E21 #218E7C
monochromatic
#2B0A20 #5C1545 #8E216A #C02D8F #D752AB

Accessibility & contrast

On white

8.15
#8E216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E216A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E216A#FFFFFF#000000##FFFFFF
##8E216A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#982043
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e216a;
/* rgb */ color: rgb(142, 33, 106);
/* oklch */ color: oklch(45.0% 0.162 344.6);
Tailwind
colors: {
  custom: {
    50: '#b36894',
    500: '#8e216a',
    950: '#000000',
  },
}
SCSS
$custom: #8e216a;
$custom-light: #b36894;
$custom-dark: #000000;
JSON
{
  "hex": "#8e216a",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 319.817,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.16188,
    "h": 344.6
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#8E216A
secondary
#50BA73
accent
#E57842
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E216A

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

Preview Lab → · Contrast checker → · Palette generator →

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