#8E1A74#8E1A74

#8E1A74 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.175 H 339.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8E1A74
RGBrgb(142, 26, 116)
HSLhsl(313, 69%, 33%)
HSVhsv(313, 82%, 56%)
CMYKcmyk(0%, 81.7%, 18.3%, 44.3%)
CIE-LABlab(33.46, 55.06, -22.93)
CIE-LCHlch(33.46, 59.64, 337.39°)
OKLaboklab(44.98% 0.1641 -0.0621)
OKLCHoklch(44.98% 0.175 339.3)
XYZxyz(14.6775, 7.7520, 17.2429)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A74 #1A8E34
analogous
#6E1A8E #8E1A74 #8E1A3A
triadic
#8E1A74 #748E1A #1A748E
tetradic
#8E1A74 #8E6E1A #1A8E34 #1A3A8E
square
#8E1A74 #8E6E1A #1A8E34 #1A3A8E
split-complementary
#8E1A74 #3A8E1A #1A8E6E
monochromatic
#27071F #5A114A #8E1A74 #C2239E #DD45BB

Accessibility & contrast

On white

8.23
#8E1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A74
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A74#FFFFFF#000000##FFFFFF
##8E1A741.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#972046
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1a74;
/* rgb */ color: rgb(142, 26, 116);
/* oklch */ color: oklch(45.0% 0.175 339.3);
Tailwind
colors: {
  custom: {
    50: '#b3669c',
    500: '#8e1a74',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a74;
$custom-light: #b3669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a74",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 313.448,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44975,
    "c": 0.17544,
    "h": 339.3
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#8E1A74
secondary
#45BE61
accent
#EC633C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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