#8E1D5C#8E1D5C

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

Color values

HEX#8E1D5C
RGBrgb(142, 29, 92)
HSLhsl(327, 66%, 34%)
HSVhsv(327, 80%, 56%)
CMYKcmyk(0%, 79.6%, 35.2%, 44.3%)
CIE-LABlab(32.71, 51.10, -8.71)
CIE-LCHlch(32.71, 51.84, 350.32°)
OKLaboklab(44.09% 0.1567 -0.0225)
OKLCHoklch(44.09% 0.158 351.8)
XYZxyz(13.5273, 7.4039, 10.8399)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D5C #1D8E4F
analogous
#871D8E #8E1D5C #8E1D23
triadic
#8E1D5C #5C8E1D #1D5C8E
tetradic
#8E1D5C #8E871D #1D8E4F #1D238E
square
#8E1D5C #8E871D #1D8E4F #1D238E
split-complementary
#8E1D5C #238E1D #1D8E87
monochromatic
#28081A #5B133B #8E1D5C #C1277D #DA4B9B

Accessibility & contrast

On white

8.47
#8E1D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D5C
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D5C#FFFFFF#000000##FFFFFF
##8E1D5C1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405E
Deuteranopia (green-blind)
#535459
Tritanopia (blue-blind)
#99123A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1d5c;
/* rgb */ color: rgb(142, 29, 92);
/* oklch */ color: oklch(44.1% 0.158 351.8);
Tailwind
colors: {
  custom: {
    50: '#b3668a',
    500: '#8e1d5c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d5c;
$custom-light: #b3668a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d5c",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 326.549,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.15835,
    "h": 351.8
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#8E1D5C
secondary
#4ABD7D
accent
#E98A3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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