#8E1A54#8E1A54

#8E1A54 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.158 H 356.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8E1A54
RGBrgb(142, 26, 84)
HSLhsl(330, 69%, 33%)
HSVhsv(330, 82%, 56%)
CMYKcmyk(0%, 81.7%, 40.8%, 44.3%)
CIE-LABlab(32.10, 51.10, -4.41)
CIE-LCHlch(32.10, 51.29, 355.07°)
OKLaboklab(43.55% 0.1572 -0.011)
OKLCHoklch(43.55% 0.158 356)
XYZxyz(13.1259, 7.1314, 9.0711)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A54 #1A8E54
analogous
#8E1A8E #8E1A54 #8E1A1A
triadic
#8E1A54 #548E1A #1A548E
tetradic
#8E1A54 #8E8E1A #1A8E54 #1A1A8E
square
#8E1A54 #8E8E1A #1A8E54 #1A1A8E
split-complementary
#8E1A54 #1A8E1A #1A8E8E
monochromatic
#270717 #5A1135 #8E1A54 #C22373 #DD4591

Accessibility & contrast

On white

8.66
#8E1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A54
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A54#FFFFFF#000000##FFFFFF
##8E1A541.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E55
Deuteranopia (green-blind)
#545351
Tritanopia (blue-blind)
#9A0535
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a54;
/* rgb */ color: rgb(142, 26, 84);
/* oklch */ color: oklch(43.5% 0.158 356.0);
Tailwind
colors: {
  custom: {
    50: '#b46584',
    500: '#8e1a54',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a54;
$custom-light: #b46584;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a54",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 330,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.1576,
    "h": 356
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#8E1A54
secondary
#45BE82
accent
#EC943C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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