#8E1A3A#8E1A3A

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

Color values

HEX#8E1A3A
RGBrgb(142, 26, 58)
HSLhsl(343, 69%, 33%)
HSVhsv(343, 82%, 56%)
CMYKcmyk(0%, 81.7%, 59.2%, 44.3%)
CIE-LABlab(31.34, 48.78, 11.63)
CIE-LCHlch(31.34, 50.15, 13.41°)
OKLaboklab(42.74% 0.1477 0.029)
OKLCHoklch(42.74% 0.15 11.1)
XYZxyz(12.2897, 6.7969, 4.6670)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A3A #1A8E6E
analogous
#8E1A74 #8E1A3A #8E341A
triadic
#8E1A3A #3A8E1A #1A3A8E
tetradic
#8E1A3A #748E1A #1A8E6E #341A8E
square
#8E1A3A #748E1A #1A8E6E #341A8E
split-complementary
#8E1A3A #1A8E34 #1A748E
monochromatic
#270710 #5A1125 #8E1A3A #C2234F #DD456F

Accessibility & contrast

On white

8.90
#8E1A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A3A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A3A#FFFFFF#000000##FFFFFF
##8E1A3A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1a3a;
/* rgb */ color: rgb(142, 26, 58);
/* oklch */ color: oklch(42.7% 0.150 11.1);
Tailwind
colors: {
  custom: {
    50: '#b5646f',
    500: '#8e1a3a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a3a;
$custom-light: #b5646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a3a",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 343.448,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.15048,
    "h": 11.1
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#8E1A3A
secondary
#45BE9D
accent
#ECBB3C
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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