#8E1D5D#8E1D5D

#8E1D5D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.159 H 351.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8E1D5D
RGBrgb(142, 29, 93)
HSLhsl(326, 66%, 34%)
HSVhsv(326, 80%, 56%)
CMYKcmyk(0%, 79.6%, 34.5%, 44.3%)
CIE-LABlab(32.75, 51.22, -9.30)
CIE-LCHlch(32.75, 52.05, 349.71°)
OKLaboklab(44.13% 0.157 -0.0241)
OKLCHoklch(44.13% 0.159 351.3)
XYZxyz(13.5713, 7.4215, 11.0716)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D5D #1D8E4E
analogous
#861D8E #8E1D5D #8E1D24
triadic
#8E1D5D #5D8E1D #1D5D8E
tetradic
#8E1D5D #8E861D #1D8E4E #1D248E
square
#8E1D5D #8E861D #1D8E4E #1D248E
split-complementary
#8E1D5D #248E1D #1D8E86
monochromatic
#28081A #5B133C #8E1D5D #C1277E #DA4B9C

Accessibility & contrast

On white

8.45
#8E1D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D5D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D5D#FFFFFF#000000##FFFFFF
##8E1D5D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#99133B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1d5d;
/* rgb */ color: rgb(142, 29, 93);
/* oklch */ color: oklch(44.1% 0.159 351.3);
Tailwind
colors: {
  custom: {
    50: '#b3668b',
    500: '#8e1d5d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d5d;
$custom-light: #b3668b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d5d",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 326.018,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.15885,
    "h": 351.3
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#8E1D5D
secondary
#4ABD7C
accent
#E9893F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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