#8E1A40#8E1A40

#8E1A40 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.151 H 7.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1A40
RGBrgb(142, 26, 64)
HSLhsl(340, 69%, 33%)
HSVhsv(340, 82%, 56%)
CMYKcmyk(0%, 81.7%, 54.9%, 44.3%)
CIE-LABlab(31.49, 49.24, 7.86)
CIE-LCHlch(31.49, 49.87, 9.07°)
OKLaboklab(42.9% 0.1501 0.0202)
OKLCHoklch(42.9% 0.151 7.7)
XYZxyz(12.4513, 6.8615, 5.5183)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A40 #1A8E68
analogous
#8E1A7A #8E1A40 #8E2E1A
triadic
#8E1A40 #408E1A #1A408E
tetradic
#8E1A40 #7A8E1A #1A8E68 #2E1A8E
square
#8E1A40 #7A8E1A #1A8E68 #2E1A8E
split-complementary
#8E1A40 #1A8E2E #1A7A8E
monochromatic
#270711 #5A1129 #8E1A40 #C22357 #DD4577

Accessibility & contrast

On white

8.85
#8E1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A40
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A40#FFFFFF#000000##FFFFFF
##8E1A401.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58523D
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a40;
/* rgb */ color: rgb(142, 26, 64);
/* oklch */ color: oklch(42.9% 0.151 7.7);
Tailwind
colors: {
  custom: {
    50: '#b56474',
    500: '#8e1a40',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a40;
$custom-light: #b56474;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a40",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 340.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.15142,
    "h": 7.7
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#8E1A40
secondary
#45BE97
accent
#ECB23C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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