#8E1A43#8E1A43

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

Color values

HEX#8E1A43
RGBrgb(142, 26, 67)
HSLhsl(339, 69%, 33%)
HSVhsv(339, 82%, 56%)
CMYKcmyk(0%, 81.7%, 52.8%, 44.3%)
CIE-LABlab(31.57, 49.49, 6.00)
CIE-LCHlch(31.57, 49.85, 6.91°)
OKLaboklab(42.98% 0.1512 0.0156)
OKLCHoklch(42.98% 0.152 5.9)
XYZxyz(12.5390, 6.8966, 5.9800)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A43 #1A8E65
analogous
#8E1A7D #8E1A43 #8E2B1A
triadic
#8E1A43 #438E1A #1A438E
tetradic
#8E1A43 #7D8E1A #1A8E65 #2B1A8E
square
#8E1A43 #7D8E1A #1A8E65 #2B1A8E
split-complementary
#8E1A43 #1A8E2B #1A7D8E
monochromatic
#270712 #5A112B #8E1A43 #C2235B #DD457B

Accessibility & contrast

On white

8.83
#8E1A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A43
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A43#FFFFFF#000000##FFFFFF
##8E1A431.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C44
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a43;
/* rgb */ color: rgb(142, 26, 67);
/* oklch */ color: oklch(43.0% 0.152 5.9);
Tailwind
colors: {
  custom: {
    50: '#b56476',
    500: '#8e1a43',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a43;
$custom-light: #b56476;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a43",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 338.793,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.15205,
    "h": 5.9
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#8E1A43
secondary
#45BE94
accent
#ECAE3C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1A43

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

Preview Lab → · Contrast checker → · Palette generator →

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