#8E1D5B#8E1D5B

#8E1D5B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.158 H 352.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8E1D5B
RGBrgb(142, 29, 91)
HSLhsl(327, 66%, 34%)
HSVhsv(327, 80%, 56%)
CMYKcmyk(0%, 79.6%, 35.9%, 44.3%)
CIE-LABlab(32.67, 50.98, -8.12)
CIE-LCHlch(32.67, 51.63, 350.95°)
OKLaboklab(44.05% 0.1565 -0.0209)
OKLCHoklch(44.05% 0.158 352.4)
XYZxyz(13.4839, 7.3865, 10.6112)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D5B #1D8E50
analogous
#881D8E #8E1D5B #8E1D22
triadic
#8E1D5B #5B8E1D #1D5B8E
tetradic
#8E1D5B #8E881D #1D8E50 #1D228E
square
#8E1D5B #8E881D #1D8E50 #1D228E
split-complementary
#8E1D5B #228E1D #1D8E88
monochromatic
#28081A #5B133A #8E1D5B #C1277C #DA4B9A

Accessibility & contrast

On white

8.48
#8E1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D5B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D5B#FFFFFF#000000##FFFFFF
##8E1D5B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405D
Deuteranopia (green-blind)
#535458
Tritanopia (blue-blind)
#991139
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1d5b;
/* rgb */ color: rgb(142, 29, 91);
/* oklch */ color: oklch(44.0% 0.158 352.4);
Tailwind
colors: {
  custom: {
    50: '#b46689',
    500: '#8e1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d5b;
$custom-light: #b46689;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d5b",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 327.08,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.15785,
    "h": 352.4
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#8E1D5B
secondary
#4ABD7E
accent
#E98C3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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