#8E1A3E#8E1A3E

#8E1A3E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.151 H 8.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8E1A3E
RGBrgb(142, 26, 62)
HSLhsl(341, 69%, 33%)
HSVhsv(341, 82%, 56%)
CMYKcmyk(0%, 81.7%, 56.3%, 44.3%)
CIE-LABlab(31.44, 49.08, 9.12)
CIE-LCHlch(31.44, 49.92, 10.52°)
OKLaboklab(42.84% 0.1493 0.0232)
OKLCHoklch(42.84% 0.151 8.8)
XYZxyz(12.3954, 6.8392, 5.2239)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A3E #1A8E6A
analogous
#8E1A78 #8E1A3E #8E301A
triadic
#8E1A3E #3E8E1A #1A3E8E
tetradic
#8E1A3E #788E1A #1A8E6A #301A8E
square
#8E1A3E #788E1A #1A8E6A #301A8E
split-complementary
#8E1A3E #1A8E30 #1A788E
monochromatic
#270711 #5A1127 #8E1A3E #C22355 #DD4574

Accessibility & contrast

On white

8.87
#8E1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A3E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A3E#FFFFFF#000000##FFFFFF
##8E1A3E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B3F
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#9C002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a3e;
/* rgb */ color: rgb(142, 26, 62);
/* oklch */ color: oklch(42.8% 0.151 8.8);
Tailwind
colors: {
  custom: {
    50: '#b56473',
    500: '#8e1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a3e;
$custom-light: #b56473;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a3e",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 341.379,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.15106,
    "h": 8.8
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#8E1A3E
secondary
#45BE99
accent
#ECB53C
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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