#8E1670#8E1670

#8E1670 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.176 H 341.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8E1670
RGBrgb(142, 22, 112)
HSLhsl(315, 73%, 32%)
HSVhsv(315, 85%, 56%)
CMYKcmyk(0%, 84.5%, 21.1%, 44.3%)
CIE-LABlab(32.91, 55.53, -21.25)
CIE-LCHlch(32.91, 59.45, 339.06°)
OKLaboklab(44.52% 0.1667 -0.0573)
OKLCHoklch(44.52% 0.176 341)
XYZxyz(14.3674, 7.4960, 16.0163)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1670 #168E34
analogous
#70168E #8E1670 #8E1634
triadic
#8E1670 #708E16 #16708E
tetradic
#8E1670 #8E7016 #168E34 #16348E
square
#8E1670 #8E7016 #168E34 #16348E
split-complementary
#8E1670 #348E16 #168E70
monochromatic
#24061C #590E46 #8E1670 #C31E9A #E13DB8

Accessibility & contrast

On white

8.40
#8E1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1670
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1670#FFFFFF#000000##FFFFFF
##8E16701.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#4A546D
Tritanopia (blue-blind)
#971A43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1670;
/* rgb */ color: rgb(142, 22, 112);
/* oklch */ color: oklch(44.5% 0.176 341.0);
Tailwind
colors: {
  custom: {
    50: '#b36499',
    500: '#8e1670',
    950: '#000000',
  },
}
SCSS
$custom: #8e1670;
$custom-light: #b36499;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1670",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 315,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.17629,
    "h": 341
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#8E1670
secondary
#3FC15F
accent
#F06638
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1670

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

Preview Lab → · Contrast checker → · Palette generator →

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