#8E1E4A#8E1E4A

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

Color values

HEX#8E1E4A
RGBrgb(142, 30, 74)
HSLhsl(336, 65%, 34%)
HSVhsv(336, 79%, 56%)
CMYKcmyk(0%, 78.9%, 47.9%, 44.3%)
CIE-LABlab(32.20, 48.89, 2.29)
CIE-LCHlch(32.20, 48.95, 2.68°)
OKLaboklab(43.51% 0.15 0.0064)
OKLCHoklch(43.51% 0.15 2.4)
XYZxyz(12.8567, 7.1755, 7.1852)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E4A #1E8E62
analogous
#8E1E82 #8E1E4A #8E2A1E
triadic
#8E1E4A #4A8E1E #1E4A8E
tetradic
#8E1E4A #828E1E #1E8E62 #2A1E8E
square
#8E1E4A #828E1E #1E8E62 #2A1E8E
split-complementary
#8E1E4A #1E8E2A #1E828E
monochromatic
#290915 #5B1330 #8E1E4A #C12964 #D94D84

Accessibility & contrast

On white

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

On black

2.43
#8E1E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E1E4A#FFFFFF#000000##FFFFFF
##8E1E4A1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4B
Deuteranopia (green-blind)
#575447
Tritanopia (blue-blind)
#9B0331
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1e4a;
/* rgb */ color: rgb(142, 30, 74);
/* oklch */ color: oklch(43.5% 0.150 2.4);
Tailwind
colors: {
  custom: {
    50: '#b4667c',
    500: '#8e1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e4a;
$custom-light: #b4667c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e4a",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 336.429,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.15009,
    "h": 2.4
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#8E1E4A
secondary
#4CBC90
accent
#E8A640
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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