#8E1D4E#8E1D4E

#8E1D4E is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.152 H 359.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8E1D4E
RGBrgb(142, 29, 78)
HSLhsl(334, 66%, 34%)
HSVhsv(334, 80%, 56%)
CMYKcmyk(0%, 79.6%, 45.1%, 44.3%)
CIE-LABlab(32.22, 49.59, -0.32)
CIE-LCHlch(32.22, 49.60, 359.63°)
OKLaboklab(43.57% 0.1524 -0.0003)
OKLCHoklch(43.57% 0.152 359.9)
XYZxyz(12.9709, 7.1813, 7.9094)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D4E #1D8E5D
analogous
#8E1D86 #8E1D4E #8E241D
triadic
#8E1D4E #4E8E1D #1D4E8E
tetradic
#8E1D4E #868E1D #1D8E5D #241D8E
square
#8E1D4E #868E1D #1D8E5D #241D8E
split-complementary
#8E1D4E #1D8E24 #1D868E
monochromatic
#280816 #5B1332 #8E1D4E #C1276A #DA4B89

Accessibility & contrast

On white

8.62
#8E1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8E1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D4E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D4E#FFFFFF#000000##FFFFFF
##8E1D4E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#56544B
Tritanopia (blue-blind)
#9A0533
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1d4e;
/* rgb */ color: rgb(142, 29, 78);
/* oklch */ color: oklch(43.6% 0.152 359.9);
Tailwind
colors: {
  custom: {
    50: '#b4657f',
    500: '#8e1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d4e;
$custom-light: #b4657f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d4e",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 333.982,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.15239,
    "h": 359.9
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#8E1D4E
secondary
#4ABD8B
accent
#E99F3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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