#8E1668#8E1668

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

Color values

HEX#8E1668
RGBrgb(142, 22, 104)
HSLhsl(319, 73%, 32%)
HSVhsv(319, 85%, 56%)
CMYKcmyk(0%, 84.5%, 26.8%, 44.3%)
CIE-LABlab(32.54, 54.48, -16.71)
CIE-LCHlch(32.54, 56.98, 342.94°)
OKLaboklab(44.13% 0.1655 -0.0445)
OKLCHoklch(44.13% 0.171 344.9)
XYZxyz(13.9416, 7.3257, 13.7738)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1668 #168E3C
analogous
#78168E #8E1668 #8E162C
triadic
#8E1668 #688E16 #16688E
tetradic
#8E1668 #8E7816 #168E3C #162C8E
square
#8E1668 #8E7816 #168E3C #162C8E
split-complementary
#8E1668 #2C8E16 #168E78
monochromatic
#24061A #590E41 #8E1668 #C31E8F #E13DAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1668#FFFFFF#000000##FFFFFF
##8E16681.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)
#28406A
Deuteranopia (green-blind)
#4D5465
Tritanopia (blue-blind)
#98133E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1668;
/* rgb */ color: rgb(142, 22, 104);
/* oklch */ color: oklch(44.1% 0.171 344.9);
Tailwind
colors: {
  custom: {
    50: '#b36493',
    500: '#8e1668',
    950: '#000000',
  },
}
SCSS
$custom: #8e1668;
$custom-light: #b36493;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1668",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 319,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44125,
    "c": 0.17138,
    "h": 344.9
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#8E1668
secondary
#3FC168
accent
#F07238
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E1668

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

Preview Lab → · Contrast checker → · Palette generator →

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