#8E215C#8E215C

#8E215C is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.154 H 352.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8E215C
RGBrgb(142, 33, 92)
HSLhsl(328, 62%, 34%)
HSVhsv(328, 77%, 56%)
CMYKcmyk(0%, 76.8%, 35.2%, 44.3%)
CIE-LABlab(33.16, 49.81, -8.03)
CIE-LCHlch(33.16, 50.46, 350.84°)
OKLaboklab(44.42% 0.1527 -0.0207)
OKLCHoklch(44.42% 0.154 352.3)
XYZxyz(13.6318, 7.6128, 10.8747)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E215C #218E53
analogous
#8A218E #8E215C #8E2125
triadic
#8E215C #5C8E21 #215C8E
tetradic
#8E215C #8E8A21 #218E53 #21258E
square
#8E215C #8E8A21 #218E53 #21258E
split-complementary
#8E215C #258E21 #218E8A
monochromatic
#2B0A1C #5C153C #8E215C #C02D7C #D7529A

Accessibility & contrast

On white

8.33
#8E215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E215C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E215C#FFFFFF#000000##FFFFFF
##8E215C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415E
Deuteranopia (green-blind)
#54555A
Tritanopia (blue-blind)
#99173B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e215c;
/* rgb */ color: rgb(142, 33, 92);
/* oklch */ color: oklch(44.4% 0.154 352.3);
Tailwind
colors: {
  custom: {
    50: '#b3678a',
    500: '#8e215c',
    950: '#000000',
  },
}
SCSS
$custom: #8e215c;
$custom-light: #b3678a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e215c",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 327.523,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.15407,
    "h": 352.3
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#8E215C
secondary
#50BA81
accent
#E58D42
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E215C

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

Preview Lab → · Contrast checker → · Palette generator →

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