#8E1A5D#8E1A5D

#8E1A5D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.162 H 351.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8E1A5D
RGBrgb(142, 26, 93)
HSLhsl(325, 69%, 33%)
HSVhsv(325, 82%, 56%)
CMYKcmyk(0%, 81.7%, 34.5%, 44.3%)
CIE-LABlab(32.44, 52.09, -9.77)
CIE-LCHlch(32.44, 53.00, 349.38°)
OKLaboklab(43.9% 0.1598 -0.0254)
OKLCHoklch(43.9% 0.162 351)
XYZxyz(13.5013, 7.2815, 11.0483)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A5D #1A8E4B
analogous
#851A8E #8E1A5D #8E1A23
triadic
#8E1A5D #5D8E1A #1A5D8E
tetradic
#8E1A5D #8E851A #1A8E4B #1A238E
square
#8E1A5D #8E851A #1A8E4B #1A238E
split-complementary
#8E1A5D #238E1A #1A8E85
monochromatic
#270719 #5A113B #8E1A5D #C2237F #DD459D

Accessibility & contrast

On white

8.55
#8E1A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A5D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A5D#FFFFFF#000000##FFFFFF
##8E1A5D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5F
Deuteranopia (green-blind)
#51545A
Tritanopia (blue-blind)
#990E3A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a5d;
/* rgb */ color: rgb(142, 26, 93);
/* oklch */ color: oklch(43.9% 0.162 351.0);
Tailwind
colors: {
  custom: {
    50: '#b4658b',
    500: '#8e1a5d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a5d;
$custom-light: #b4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a5d",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 325.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.16179,
    "h": 351
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#8E1A5D
secondary
#45BE79
accent
#EC863C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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