#8E1A5E#8E1A5E

#8E1A5E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.162 H 350.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8E1A5E
RGBrgb(142, 26, 94)
HSLhsl(325, 69%, 33%)
HSVhsv(325, 82%, 56%)
CMYKcmyk(0%, 81.7%, 33.8%, 44.3%)
CIE-LABlab(32.48, 52.21, -10.36)
CIE-LCHlch(32.48, 53.23, 348.78°)
OKLaboklab(43.94% 0.16 -0.027)
OKLCHoklch(43.94% 0.162 350.4)
XYZxyz(13.5459, 7.2994, 11.2831)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A5E #1A8E4A
analogous
#841A8E #8E1A5E #8E1A24
triadic
#8E1A5E #5E8E1A #1A5E8E
tetradic
#8E1A5E #8E841A #1A8E4A #1A248E
square
#8E1A5E #8E841A #1A8E4A #1A248E
split-complementary
#8E1A5E #248E1A #1A8E84
monochromatic
#27071A #5A113C #8E1A5E #C22380 #DD459E

Accessibility & contrast

On white

8.54
#8E1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A5E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A5E#FFFFFF#000000##FFFFFF
##8E1A5E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F60
Deuteranopia (green-blind)
#51545B
Tritanopia (blue-blind)
#990F3A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a5e;
/* rgb */ color: rgb(142, 26, 94);
/* oklch */ color: oklch(43.9% 0.162 350.4);
Tailwind
colors: {
  custom: {
    50: '#b4658b',
    500: '#8e1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a5e;
$custom-light: #b4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a5e",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 324.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.1623,
    "h": 350.4
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#8E1A5E
secondary
#45BE77
accent
#EC853C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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