#8E1A41#8E1A41

#8E1A41 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.152 H 7.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1A41
RGBrgb(142, 26, 65)
HSLhsl(340, 69%, 33%)
HSVhsv(340, 82%, 56%)
CMYKcmyk(0%, 81.7%, 54.2%, 44.3%)
CIE-LABlab(31.52, 49.32, 7.24)
CIE-LCHlch(31.52, 49.85, 8.35°)
OKLaboklab(42.93% 0.1505 0.0187)
OKLCHoklch(42.93% 0.152 7.1)
XYZxyz(12.4800, 6.8730, 5.6695)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A41 #1A8E67
analogous
#8E1A7B #8E1A41 #8E2D1A
triadic
#8E1A41 #418E1A #1A418E
tetradic
#8E1A41 #7B8E1A #1A8E67 #2D1A8E
square
#8E1A41 #7B8E1A #1A8E67 #2D1A8E
split-complementary
#8E1A41 #1A8E2D #1A7B8E
monochromatic
#270712 #5A1129 #8E1A41 #C22359 #DD4578

Accessibility & contrast

On white

8.85
#8E1A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A41
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A41#FFFFFF#000000##FFFFFF
##8E1A411.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B42
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a41;
/* rgb */ color: rgb(142, 26, 65);
/* oklch */ color: oklch(42.9% 0.152 7.1);
Tailwind
colors: {
  custom: {
    50: '#b56475',
    500: '#8e1a41',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a41;
$custom-light: #b56475;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a41",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 339.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.15162,
    "h": 7.1
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#8E1A41
secondary
#45BE96
accent
#ECB13C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1A41

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

Preview Lab → · Contrast checker → · Palette generator →

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