#8E1A3D#8E1A3D

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

Color values

HEX#8E1A3D
RGBrgb(142, 26, 61)
HSLhsl(342, 69%, 33%)
HSVhsv(342, 82%, 56%)
CMYKcmyk(0%, 81.7%, 57%, 44.3%)
CIE-LABlab(31.41, 49.01, 9.74)
CIE-LCHlch(31.41, 49.97, 11.24°)
OKLaboklab(42.82% 0.1489 0.0246)
OKLCHoklch(42.82% 0.151 9.4)
XYZxyz(12.3682, 6.8283, 5.0807)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A3D #1A8E6B
analogous
#8E1A77 #8E1A3D #8E311A
triadic
#8E1A3D #3D8E1A #1A3D8E
tetradic
#8E1A3D #778E1A #1A8E6B #311A8E
square
#8E1A3D #778E1A #1A8E6B #311A8E
split-complementary
#8E1A3D #1A8E31 #1A778E
monochromatic
#270711 #5A1127 #8E1A3D #C22353 #DD4573

Accessibility & contrast

On white

8.88
#8E1A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A3D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A3D#FFFFFF#000000##FFFFFF
##8E1A3D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B3E
Deuteranopia (green-blind)
#58523A
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a3d;
/* rgb */ color: rgb(142, 26, 61);
/* oklch */ color: oklch(42.8% 0.151 9.4);
Tailwind
colors: {
  custom: {
    50: '#b56472',
    500: '#8e1a3d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a3d;
$custom-light: #b56472;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a3d",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 341.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.15089,
    "h": 9.4
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#8E1A3D
secondary
#45BE9A
accent
#ECB73C
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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