#8E1866#8E1866

#8E1866 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 346.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8E1866
RGBrgb(142, 24, 102)
HSLhsl(320, 71%, 33%)
HSVhsv(320, 83%, 56%)
CMYKcmyk(0%, 83.1%, 28.2%, 44.3%)
CIE-LABlab(32.62, 53.72, -15.30)
CIE-LCHlch(32.62, 55.86, 344.11°)
OKLaboklab(44.16% 0.1635 -0.0406)
OKLCHoklch(44.16% 0.169 346.1)
XYZxyz(13.8809, 7.3650, 13.2584)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1866 #188E40
analogous
#7B188E #8E1866 #8E182B
triadic
#8E1866 #668E18 #18668E
tetradic
#8E1866 #8E7B18 #188E40 #182B8E
square
#8E1866 #8E7B18 #188E40 #182B8E
split-complementary
#8E1866 #2B8E18 #188E7B
monochromatic
#25061B #5A0F40 #8E1866 #C2218C #DF41AA

Accessibility & contrast

On white

8.49
#8E1866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E1866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1866
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1866#FFFFFF#000000##FFFFFF
##8E18661.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#4E5463
Tritanopia (blue-blind)
#98143E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1866;
/* rgb */ color: rgb(142, 24, 102);
/* oklch */ color: oklch(44.2% 0.169 346.1);
Tailwind
colors: {
  custom: {
    50: '#b36591',
    500: '#8e1866',
    950: '#000000',
  },
}
SCSS
$custom: #8e1866;
$custom-light: #b36591;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1866",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 320.339,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.1685,
    "h": 346.1
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#8E1866
secondary
#42C06D
accent
#EE773A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D

Preview Lab

Preview with #8E1866

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

Preview Lab → · Contrast checker → · Palette generator →

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