#8E1A5A#8E1A5A

#8E1A5A is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.160 H 352.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8E1A5A
RGBrgb(142, 26, 90)
HSLhsl(327, 69%, 33%)
HSVhsv(327, 82%, 56%)
CMYKcmyk(0%, 81.7%, 36.6%, 44.3%)
CIE-LABlab(32.32, 51.75, -8.00)
CIE-LCHlch(32.32, 52.37, 351.22°)
OKLaboklab(43.78% 0.159 -0.0206)
OKLCHoklch(43.78% 0.16 352.6)
XYZxyz(13.3710, 7.2294, 10.3622)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A5A #1A8E4E
analogous
#881A8E #8E1A5A #8E1A20
triadic
#8E1A5A #5A8E1A #1A5A8E
tetradic
#8E1A5A #8E881A #1A8E4E #1A208E
square
#8E1A5A #8E881A #1A8E4E #1A208E
split-complementary
#8E1A5A #208E1A #1A8E88
monochromatic
#270718 #5A1139 #8E1A5A #C2237B #DD4599

Accessibility & contrast

On white

8.59
#8E1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E1A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A5A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A5A#FFFFFF#000000##FFFFFF
##8E1A5A1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5C
Deuteranopia (green-blind)
#525357
Tritanopia (blue-blind)
#990B38
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a5a;
/* rgb */ color: rgb(142, 26, 90);
/* oklch */ color: oklch(43.8% 0.160 352.6);
Tailwind
colors: {
  custom: {
    50: '#b46588',
    500: '#8e1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a5a;
$custom-light: #b46588;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a5a",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 326.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.1603,
    "h": 352.6
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#8E1A5A
secondary
#45BE7C
accent
#EC8B3C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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