#8E1766#8E1766

#8E1766 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.169 H 346.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8E1766
RGBrgb(142, 23, 102)
HSLhsl(320, 72%, 32%)
HSVhsv(320, 84%, 56%)
CMYKcmyk(0%, 83.8%, 28.2%, 44.3%)
CIE-LABlab(32.53, 53.98, -15.43)
CIE-LCHlch(32.53, 56.14, 344.04°)
OKLaboklab(44.09% 0.1643 -0.041)
OKLCHoklch(44.09% 0.169 346)
XYZxyz(13.8607, 7.3245, 13.2516)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1766 #178E3F
analogous
#7A178E #8E1766 #8E172B
triadic
#8E1766 #668E17 #17668E
tetradic
#8E1766 #8E7A17 #178E3F #172B8E
square
#8E1766 #8E7A17 #178E3F #172B8E
split-complementary
#8E1766 #2B8E17 #178E7A
monochromatic
#25061A #590E40 #8E1766 #C3208C #E03FAA

Accessibility & contrast

On white

8.52
#8E1766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1766
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1766#FFFFFF#000000##FFFFFF
##8E17661.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1766;
/* rgb */ color: rgb(142, 23, 102);
/* oklch */ color: oklch(44.1% 0.169 346.0);
Tailwind
colors: {
  custom: {
    50: '#b36491',
    500: '#8e1766',
    950: '#000000',
  },
}
SCSS
$custom: #8e1766;
$custom-light: #b36491;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1766",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 320.168,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.16937,
    "h": 346
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#8E1766
secondary
#40C06B
accent
#EF7639
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D

Preview Lab

Preview with #8E1766

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

Preview Lab → · Contrast checker → · Palette generator →

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