#8E1D4A#8E1D4A

#8E1D4A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.151 H 2.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8E1D4A
RGBrgb(142, 29, 74)
HSLhsl(336, 66%, 34%)
HSVhsv(336, 80%, 56%)
CMYKcmyk(0%, 79.6%, 47.9%, 44.3%)
CIE-LABlab(32.09, 49.21, 2.13)
CIE-LCHlch(32.09, 49.25, 2.47°)
OKLaboklab(43.43% 0.151 0.006)
OKLCHoklch(43.43% 0.151 2.3)
XYZxyz(12.8318, 7.1257, 7.1769)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D4A #1D8E61
analogous
#8E1D82 #8E1D4A #8E281D
triadic
#8E1D4A #4A8E1D #1D4A8E
tetradic
#8E1D4A #828E1D #1D8E61 #281D8E
square
#8E1D4A #828E1D #1D8E61 #281D8E
split-complementary
#8E1D4A #1D8E28 #1D828E
monochromatic
#280815 #5B1330 #8E1D4A #C12764 #DA4B84

Accessibility & contrast

On white

8.66
#8E1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D4A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D4A#FFFFFF#000000##FFFFFF
##8E1D4A1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4B
Deuteranopia (green-blind)
#575347
Tritanopia (blue-blind)
#9B0131
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1d4a;
/* rgb */ color: rgb(142, 29, 74);
/* oklch */ color: oklch(43.4% 0.151 2.3);
Tailwind
colors: {
  custom: {
    50: '#b4657c',
    500: '#8e1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d4a;
$custom-light: #b4657c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d4a",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 336.106,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.15109,
    "h": 2.3
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#8E1D4A
secondary
#4ABD8F
accent
#E9A53F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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