#8E1074#8E1074

#8E1074 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.183 H 339.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8E1074
RGBrgb(142, 16, 116)
HSLhsl(312, 80%, 31%)
HSVhsv(312, 89%, 56%)
CMYKcmyk(0%, 88.7%, 18.3%, 44.3%)
CIE-LABlab(32.67, 57.36, -24.17)
CIE-LCHlch(32.67, 62.25, 337.15°)
OKLaboklab(44.4% 0.1711 -0.0656)
OKLCHoklch(44.4% 0.183 339)
XYZxyz(14.4934, 7.3838, 17.1816)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1074 #108E2A
analogous
#69108E #8E1074 #8E1035
triadic
#8E1074 #748E10 #10748E
tetradic
#8E1074 #8E6910 #108E2A #10358E
square
#8E1074 #8E6910 #108E2A #10358E
split-complementary
#8E1074 #358E10 #108E69
monochromatic
#20041A #570A47 #8E1074 #C516A1 #E831C2

Accessibility & contrast

On white

8.48
#8E1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1074
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1074#FFFFFF#000000##FFFFFF
##8E10741.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#485371
Tritanopia (blue-blind)
#971844
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1074;
/* rgb */ color: rgb(142, 16, 116);
/* oklch */ color: oklch(44.4% 0.183 339.0);
Tailwind
colors: {
  custom: {
    50: '#b3639c',
    500: '#8e1074',
    950: '#000000',
  },
}
SCSS
$custom: #8e1074;
$custom-light: #b3639c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1074",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 312.381,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.18321,
    "h": 339
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#8E1074
secondary
#37C354
accent
#F65A32
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1074

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

Preview Lab → · Contrast checker → · Palette generator →

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