#8E1A3F#8E1A3F

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

Color values

HEX#8E1A3F
RGBrgb(142, 26, 63)
HSLhsl(341, 69%, 33%)
HSVhsv(341, 82%, 56%)
CMYKcmyk(0%, 81.7%, 55.6%, 44.3%)
CIE-LABlab(31.46, 49.16, 8.49)
CIE-LCHlch(31.46, 49.89, 9.80°)
OKLaboklab(42.87% 0.1497 0.0217)
OKLCHoklch(42.87% 0.151 8.2)
XYZxyz(12.4231, 6.8503, 5.3697)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A3F #1A8E69
analogous
#8E1A79 #8E1A3F #8E2F1A
triadic
#8E1A3F #3F8E1A #1A3F8E
tetradic
#8E1A3F #798E1A #1A8E69 #2F1A8E
square
#8E1A3F #798E1A #1A8E69 #2F1A8E
split-complementary
#8E1A3F #1A8E2F #1A798E
monochromatic
#270711 #5A1128 #8E1A3F #C22356 #DD4576

Accessibility & contrast

On white

8.86
#8E1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A3F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A3F#FFFFFF#000000##FFFFFF
##8E1A3F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B40
Deuteranopia (green-blind)
#58523C
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a3f;
/* rgb */ color: rgb(142, 26, 63);
/* oklch */ color: oklch(42.9% 0.151 8.2);
Tailwind
colors: {
  custom: {
    50: '#b56473',
    500: '#8e1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a3f;
$custom-light: #b56473;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a3f",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 340.862,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.15123,
    "h": 8.2
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#8E1A3F
secondary
#45BE98
accent
#ECB43C
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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