#8E1C5D#8E1C5D

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

Color values

HEX#8E1C5D
RGBrgb(142, 28, 93)
HSLhsl(326, 67%, 33%)
HSVhsv(326, 80%, 56%)
CMYKcmyk(0%, 80.3%, 34.5%, 44.3%)
CIE-LABlab(32.64, 51.52, -9.46)
CIE-LCHlch(32.64, 52.38, 349.59°)
OKLaboklab(44.05% 0.158 -0.0245)
OKLCHoklch(44.05% 0.16 351.2)
XYZxyz(13.5472, 7.3732, 11.0636)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C5D #1C8E4D
analogous
#861C8E #8E1C5D #8E1C24
triadic
#8E1C5D #5D8E1C #1C5D8E
tetradic
#8E1C5D #8E861C #1C8E4D #1C248E
square
#8E1C5D #8E861C #1C8E4D #1C248E
split-complementary
#8E1C5D #248E1C #1C8E86
monochromatic
#28081A #5B123C #8E1C5D #C1267E #DB499C

Accessibility & contrast

On white

8.49
#8E1C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E1C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C5D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C5D#FFFFFF#000000##FFFFFF
##8E1C5D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#99113A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1c5d;
/* rgb */ color: rgb(142, 28, 93);
/* oklch */ color: oklch(44.0% 0.160 351.2);
Tailwind
colors: {
  custom: {
    50: '#b3668b',
    500: '#8e1c5d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c5d;
$custom-light: #b3668b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c5d",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 325.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.15986,
    "h": 351.2
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#8E1C5D
secondary
#49BD7B
accent
#EA883E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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