#8E1A49#8E1A49

#8E1A49 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.154 H 2.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8E1A49
RGBrgb(142, 26, 73)
HSLhsl(336, 69%, 33%)
HSVhsv(336, 82%, 56%)
CMYKcmyk(0%, 81.7%, 48.6%, 44.3%)
CIE-LABlab(31.74, 50.02, 2.28)
CIE-LCHlch(31.74, 50.07, 2.61°)
OKLaboklab(43.17% 0.1535 0.0064)
OKLCHoklch(43.17% 0.154 2.4)
XYZxyz(12.7284, 6.9724, 6.9776)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A49 #1A8E5F
analogous
#8E1A83 #8E1A49 #8E251A
triadic
#8E1A49 #498E1A #1A498E
tetradic
#8E1A49 #838E1A #1A8E5F #251A8E
square
#8E1A49 #838E1A #1A8E5F #251A8E
split-complementary
#8E1A49 #1A8E25 #1A838E
monochromatic
#270714 #5A112E #8E1A49 #C22364 #DD4583

Accessibility & contrast

On white

8.77
#8E1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A49
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A49#FFFFFF#000000##FFFFFF
##8E1A491.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C4A
Deuteranopia (green-blind)
#565346
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a49;
/* rgb */ color: rgb(142, 26, 73);
/* oklch */ color: oklch(43.2% 0.154 2.4);
Tailwind
colors: {
  custom: {
    50: '#b5647b',
    500: '#8e1a49',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a49;
$custom-light: #b5647b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a49",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 335.69,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.15363,
    "h": 2.4
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#8E1A49
secondary
#45BE8D
accent
#ECA53C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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