#8E2056#8E2056

#8E2056 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.152 H 355.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8E2056
RGBrgb(142, 32, 86)
HSLhsl(331, 63%, 34%)
HSVhsv(331, 77%, 56%)
CMYKcmyk(0%, 77.5%, 39.4%, 44.3%)
CIE-LABlab(32.83, 49.46, -4.64)
CIE-LCHlch(32.83, 49.68, 354.64°)
OKLaboklab(44.1% 0.152 -0.0116)
OKLCHoklch(44.1% 0.152 355.6)
XYZxyz(13.3525, 7.4574, 9.5386)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2056 #208E58
analogous
#8E208D #8E2056 #8E2120
triadic
#8E2056 #568E20 #20568E
tetradic
#8E2056 #8D8E20 #208E58 #21208E
square
#8E2056 #8D8E20 #208E58 #21208E
split-complementary
#8E2056 #208E21 #208D8E
monochromatic
#2A091A #5C1538 #8E2056 #C02B74 #D85193

Accessibility & contrast

On white

8.43
#8E2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2056
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2056#FFFFFF#000000##FFFFFF
##8E20561.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2056;
/* rgb */ color: rgb(142, 32, 86);
/* oklch */ color: oklch(44.1% 0.152 355.6);
Tailwind
colors: {
  custom: {
    50: '#b46785',
    500: '#8e2056',
    950: '#000000',
  },
}
SCSS
$custom: #8e2056;
$custom-light: #b46785;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2056",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 330.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.441,
    "c": 0.15239,
    "h": 355.6
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#8E2056
secondary
#4FBB86
accent
#E69542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2056

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

Preview Lab → · Contrast checker → · Palette generator →

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