#8E1C5C#8E1C5C

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

Color values

HEX#8E1C5C
RGBrgb(142, 28, 92)
HSLhsl(326, 67%, 33%)
HSVhsv(326, 80%, 56%)
CMYKcmyk(0%, 80.3%, 35.2%, 44.3%)
CIE-LABlab(32.60, 51.40, -8.87)
CIE-LCHlch(32.60, 52.16, 350.21°)
OKLaboklab(44.01% 0.1577 -0.023)
OKLCHoklch(44.01% 0.159 351.7)
XYZxyz(13.5032, 7.3556, 10.8318)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C5C #1C8E4E
analogous
#871C8E #8E1C5C #8E1C23
triadic
#8E1C5C #5C8E1C #1C5C8E
tetradic
#8E1C5C #8E871C #1C8E4E #1C238E
square
#8E1C5C #8E871C #1C8E4E #1C238E
split-complementary
#8E1C5C #238E1C #1C8E87
monochromatic
#28081A #5B123B #8E1C5C #C1267D #DB499B

Accessibility & contrast

On white

8.50
#8E1C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1C5C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C5C#FFFFFF#000000##FFFFFF
##8E1C5C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1c5c;
/* rgb */ color: rgb(142, 28, 92);
/* oklch */ color: oklch(44.0% 0.159 351.7);
Tailwind
colors: {
  custom: {
    50: '#b4668a',
    500: '#8e1c5c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c5c;
$custom-light: #b4668a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c5c",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 326.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.15935,
    "h": 351.7
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#8E1C5C
secondary
#49BD7C
accent
#EA893E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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