#8E216C#8E216C

#8E216C is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.163 H 343.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8E216C
RGBrgb(142, 33, 108)
HSLhsl(319, 62%, 34%)
HSVhsv(319, 77%, 56%)
CMYKcmyk(0%, 76.8%, 23.9%, 44.3%)
CIE-LABlab(33.82, 51.84, -17.29)
CIE-LCHlch(33.82, 54.65, 341.55°)
OKLaboklab(45.11% 0.1564 -0.0462)
OKLCHoklch(45.11% 0.163 343.5)
XYZxyz(14.4065, 7.9227, 14.9550)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E216C #218E43
analogous
#7A218E #8E216C #8E2135
triadic
#8E216C #6C8E21 #216C8E
tetradic
#8E216C #8E7A21 #218E43 #21358E
square
#8E216C #8E7A21 #218E43 #21358E
split-complementary
#8E216C #358E21 #218E7A
monochromatic
#2B0A20 #5C1546 #8E216C #C02D92 #D752AE

Accessibility & contrast

On white

8.13
#8E216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E216C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E216C#FFFFFF#000000##FFFFFF
##8E216C1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e216c;
/* rgb */ color: rgb(142, 33, 108);
/* oklch */ color: oklch(45.1% 0.163 343.5);
Tailwind
colors: {
  custom: {
    50: '#b36896',
    500: '#8e216c',
    950: '#000000',
  },
}
SCSS
$custom: #8e216c;
$custom-light: #b36896;
$custom-dark: #000000;
JSON
{
  "hex": "#8e216c",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 318.716,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.16312,
    "h": 343.5
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#8E216C
secondary
#50BA71
accent
#E57542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E216C

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

Preview Lab → · Contrast checker → · Palette generator →

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