#8E1A44#8E1A44

#8E1A44 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.152 H 5.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8E1A44
RGBrgb(142, 26, 68)
HSLhsl(338, 69%, 33%)
HSVhsv(338, 82%, 56%)
CMYKcmyk(0%, 81.7%, 52.1%, 44.3%)
CIE-LABlab(31.60, 49.57, 5.37)
CIE-LCHlch(31.60, 49.86, 6.19°)
OKLaboklab(43.01% 0.1516 0.0141)
OKLCHoklch(43.01% 0.152 5.3)
XYZxyz(12.5693, 6.9087, 6.1394)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A44 #1A8E64
analogous
#8E1A7E #8E1A44 #8E2A1A
triadic
#8E1A44 #448E1A #1A448E
tetradic
#8E1A44 #7E8E1A #1A8E64 #2A1A8E
square
#8E1A44 #7E8E1A #1A8E64 #2A1A8E
split-complementary
#8E1A44 #1A8E2A #1A7E8E
monochromatic
#270712 #5A112B #8E1A44 #C2235D #DD457C

Accessibility & contrast

On white

8.82
#8E1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E1A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A44
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A44#FFFFFF#000000##FFFFFF
##8E1A441.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C45
Deuteranopia (green-blind)
#575341
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a44;
/* rgb */ color: rgb(142, 26, 68);
/* oklch */ color: oklch(43.0% 0.152 5.3);
Tailwind
colors: {
  custom: {
    50: '#b56477',
    500: '#8e1a44',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a44;
$custom-light: #b56477;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a44",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 338.276,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43013,
    "c": 0.15228,
    "h": 5.3
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#8E1A44
secondary
#45BE93
accent
#ECAC3C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1A44

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

Preview Lab → · Contrast checker → · Palette generator →

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