#8E2156#8E2156

#8E2156 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.151 H 355.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8E2156
RGBrgb(142, 33, 86)
HSLhsl(331, 62%, 34%)
HSVhsv(331, 77%, 56%)
CMYKcmyk(0%, 76.8%, 39.4%, 44.3%)
CIE-LABlab(32.95, 49.13, -4.47)
CIE-LCHlch(32.95, 49.33, 354.81°)
OKLaboklab(44.19% 0.1509 -0.0111)
OKLCHoklch(44.19% 0.151 355.8)
XYZxyz(13.3798, 7.5120, 9.5477)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2156 #218E59
analogous
#8E218D #8E2156 #8E2321
triadic
#8E2156 #568E21 #21568E
tetradic
#8E2156 #8D8E21 #218E59 #23218E
square
#8E2156 #8D8E21 #218E59 #23218E
split-complementary
#8E2156 #218E23 #218D8E
monochromatic
#2B0A1A #5C1538 #8E2156 #C02D74 #D75293

Accessibility & contrast

On white

8.39
#8E2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2156
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2156#FFFFFF#000000##FFFFFF
##8E21561.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374157
Deuteranopia (green-blind)
#555554
Tritanopia (blue-blind)
#9A1338
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2156;
/* rgb */ color: rgb(142, 33, 86);
/* oklch */ color: oklch(44.2% 0.151 355.8);
Tailwind
colors: {
  custom: {
    50: '#b46785',
    500: '#8e2156',
    950: '#000000',
  },
}
SCSS
$custom: #8e2156;
$custom-light: #b46785;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2156",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 330.826,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.15129,
    "h": 355.8
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#8E2156
secondary
#50BA87
accent
#E59642
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2156

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

Preview Lab → · Contrast checker → · Palette generator →

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