#8E1671#8E1671

#8E1671 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 340.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8E1671
RGBrgb(142, 22, 113)
HSLhsl(315, 73%, 32%)
HSVhsv(315, 85%, 56%)
CMYKcmyk(0%, 84.5%, 20.4%, 44.3%)
CIE-LABlab(32.96, 55.66, -21.81)
CIE-LCHlch(32.96, 59.78, 338.61°)
OKLaboklab(44.57% 0.1668 -0.0589)
OKLCHoklch(44.57% 0.177 340.6)
XYZxyz(14.4233, 7.5184, 16.3112)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1671 #168E33
analogous
#6F168E #8E1671 #8E1635
triadic
#8E1671 #718E16 #16718E
tetradic
#8E1671 #8E6F16 #168E33 #16358E
square
#8E1671 #8E6F16 #168E33 #16358E
split-complementary
#8E1671 #358E16 #168E6F
monochromatic
#24061D #590E47 #8E1671 #C31E9B #E13DB9

Accessibility & contrast

On white

8.39
#8E1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1671
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1671#FFFFFF#000000##FFFFFF
##8E16711.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#971A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1671;
/* rgb */ color: rgb(142, 22, 113);
/* oklch */ color: oklch(44.6% 0.177 340.6);
Tailwind
colors: {
  custom: {
    50: '#b3649a',
    500: '#8e1671',
    950: '#000000',
  },
}
SCSS
$custom: #8e1671;
$custom-light: #b3649a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1671",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 314.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.17693,
    "h": 340.6
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#8E1671
secondary
#3FC15E
accent
#F06438
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1671

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

Preview Lab → · Contrast checker → · Palette generator →

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