#8E1A4A#8E1A4A

#8E1A4A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.154 H 1.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8E1A4A
RGBrgb(142, 26, 74)
HSLhsl(335, 69%, 33%)
HSVhsv(335, 82%, 56%)
CMYKcmyk(0%, 81.7%, 47.9%, 44.3%)
CIE-LABlab(31.77, 50.11, 1.67)
CIE-LCHlch(31.77, 50.14, 1.91°)
OKLaboklab(43.2% 0.1539 0.0048)
OKLCHoklch(43.2% 0.154 1.8)
XYZxyz(12.7618, 6.9857, 7.1536)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A4A #1A8E5E
analogous
#8E1A84 #8E1A4A #8E241A
triadic
#8E1A4A #4A8E1A #1A4A8E
tetradic
#8E1A4A #848E1A #1A8E5E #241A8E
square
#8E1A4A #848E1A #1A8E5E #241A8E
split-complementary
#8E1A4A #1A8E24 #1A848E
monochromatic
#270714 #5A112F #8E1A4A #C22365 #DD4584

Accessibility & contrast

On white

8.76
#8E1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A4A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A4A#FFFFFF#000000##FFFFFF
##8E1A4A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C4B
Deuteranopia (green-blind)
#565347
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a4a;
/* rgb */ color: rgb(142, 26, 74);
/* oklch */ color: oklch(43.2% 0.154 1.8);
Tailwind
colors: {
  custom: {
    50: '#b4647c',
    500: '#8e1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a4a;
$custom-light: #b4647c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a4a",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 335.172,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.432,
    "c": 0.15394,
    "h": 1.8
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#8E1A4A
secondary
#45BE8C
accent
#ECA33C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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