#8E1A56#8E1A56

#8E1A56 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.158 H 354.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8E1A56
RGBrgb(142, 26, 86)
HSLhsl(329, 69%, 33%)
HSVhsv(329, 82%, 56%)
CMYKcmyk(0%, 81.7%, 39.4%, 44.3%)
CIE-LABlab(32.18, 51.31, -5.61)
CIE-LCHlch(32.18, 51.62, 353.76°)
OKLaboklab(43.62% 0.1578 -0.0142)
OKLCHoklch(43.62% 0.158 354.9)
XYZxyz(13.2054, 7.1631, 9.4895)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A56 #1A8E52
analogous
#8C1A8E #8E1A56 #8E1A1C
triadic
#8E1A56 #568E1A #1A568E
tetradic
#8E1A56 #8E8C1A #1A8E52 #1A1C8E
square
#8E1A56 #8E8C1A #1A8E52 #1A1C8E
split-complementary
#8E1A56 #1C8E1A #1A8E8C
monochromatic
#270717 #5A1137 #8E1A56 #C22375 #DD4594

Accessibility & contrast

On white

8.63
#8E1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A56
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A56#FFFFFF#000000##FFFFFF
##8E1A561.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#535353
Tritanopia (blue-blind)
#9A0736
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a56;
/* rgb */ color: rgb(142, 26, 86);
/* oklch */ color: oklch(43.6% 0.158 354.9);
Tailwind
colors: {
  custom: {
    50: '#b46585',
    500: '#8e1a56',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a56;
$custom-light: #b46585;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a56",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 328.966,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43624,
    "c": 0.15846,
    "h": 354.9
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#8E1A56
secondary
#45BE80
accent
#EC913C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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