#8E1A46#8E1A46

#8E1A46 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.153 H 4.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8E1A46
RGBrgb(142, 26, 70)
HSLhsl(337, 69%, 33%)
HSVhsv(337, 82%, 56%)
CMYKcmyk(0%, 81.7%, 50.7%, 44.3%)
CIE-LABlab(31.66, 49.75, 4.13)
CIE-LCHlch(31.66, 49.92, 4.75°)
OKLaboklab(43.07% 0.1524 0.011)
OKLCHoklch(43.07% 0.153 4.1)
XYZxyz(12.6313, 6.9335, 6.4663)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A46 #1A8E62
analogous
#8E1A80 #8E1A46 #8E281A
triadic
#8E1A46 #468E1A #1A468E
tetradic
#8E1A46 #808E1A #1A8E62 #281A8E
square
#8E1A46 #808E1A #1A8E62 #281A8E
split-complementary
#8E1A46 #1A8E28 #1A808E
monochromatic
#270713 #5A112D #8E1A46 #C22360 #DD457F

Accessibility & contrast

On white

8.80
#8E1A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A46
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A46#FFFFFF#000000##FFFFFF
##8E1A461.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#575343
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1a46;
/* rgb */ color: rgb(142, 26, 70);
/* oklch */ color: oklch(43.1% 0.153 4.1);
Tailwind
colors: {
  custom: {
    50: '#b56479',
    500: '#8e1a46',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a46;
$custom-light: #b56479;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a46",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 337.241,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.15279,
    "h": 4.1
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#8E1A46
secondary
#45BE90
accent
#ECA93C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1A46

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

Preview Lab → · Contrast checker → · Palette generator →

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