#8E1A39#8E1A39

#8E1A39 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 11.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8E1A39
RGBrgb(142, 26, 57)
HSLhsl(344, 69%, 33%)
HSVhsv(344, 82%, 56%)
CMYKcmyk(0%, 81.7%, 59.9%, 44.3%)
CIE-LABlab(31.32, 48.71, 12.26)
CIE-LCHlch(31.32, 50.23, 14.12°)
OKLaboklab(42.71% 0.1473 0.0305)
OKLCHoklch(42.71% 0.15 11.7)
XYZxyz(12.2645, 6.7868, 4.5343)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A39 #1A8E6F
analogous
#8E1A73 #8E1A39 #8E351A
triadic
#8E1A39 #398E1A #1A398E
tetradic
#8E1A39 #738E1A #1A8E6F #351A8E
square
#8E1A39 #738E1A #1A8E6F #351A8E
split-complementary
#8E1A39 #1A8E35 #1A738E
monochromatic
#27070F #5A1124 #8E1A39 #C2234E #DD456E

Accessibility & contrast

On white

8.91
#8E1A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A39
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A39#FFFFFF#000000##FFFFFF
##8E1A391.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B39
Deuteranopia (green-blind)
#595236
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a39;
/* rgb */ color: rgb(142, 26, 57);
/* oklch */ color: oklch(42.7% 0.150 11.7);
Tailwind
colors: {
  custom: {
    50: '#b6646f',
    500: '#8e1a39',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a39;
$custom-light: #b6646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a39",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 343.966,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.15037,
    "h": 11.7
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#8E1A39
secondary
#45BE9E
accent
#ECBD3C
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1A39

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

Preview Lab → · Contrast checker → · Palette generator →

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