#8E1A5B#8E1A5B

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

Color values

HEX#8E1A5B
RGBrgb(142, 26, 91)
HSLhsl(326, 69%, 33%)
HSVhsv(326, 82%, 56%)
CMYKcmyk(0%, 81.7%, 35.9%, 44.3%)
CIE-LABlab(32.36, 51.86, -8.59)
CIE-LCHlch(32.36, 52.57, 350.60°)
OKLaboklab(43.82% 0.1593 -0.0222)
OKLCHoklch(43.82% 0.161 352.1)
XYZxyz(13.4139, 7.2466, 10.5878)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A5B #1A8E4D
analogous
#871A8E #8E1A5B #8E1A21
triadic
#8E1A5B #5B8E1A #1A5B8E
tetradic
#8E1A5B #8E871A #1A8E4D #1A218E
square
#8E1A5B #8E871A #1A8E4D #1A218E
split-complementary
#8E1A5B #218E1A #1A8E87
monochromatic
#270719 #5A113A #8E1A5B #C2237C #DD459A

Accessibility & contrast

On white

8.57
#8E1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A5B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A5B#FFFFFF#000000##FFFFFF
##8E1A5B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#525458
Tritanopia (blue-blind)
#990C38
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a5b;
/* rgb */ color: rgb(142, 26, 91);
/* oklch */ color: oklch(43.8% 0.161 352.1);
Tailwind
colors: {
  custom: {
    50: '#b46589',
    500: '#8e1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a5b;
$custom-light: #b46589;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a5b",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 326.379,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.16079,
    "h": 352.1
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#8E1A5B
secondary
#45BE7B
accent
#EC893C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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