#8E1672#8E1672

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

Color values

HEX#8E1672
RGBrgb(142, 22, 114)
HSLhsl(314, 73%, 32%)
HSVhsv(314, 85%, 56%)
CMYKcmyk(0%, 84.5%, 19.7%, 44.3%)
CIE-LABlab(33.01, 55.80, -22.37)
CIE-LCHlch(33.01, 60.12, 338.16°)
OKLaboklab(44.62% 0.1669 -0.0605)
OKLCHoklch(44.62% 0.178 340.1)
XYZxyz(14.4800, 7.5410, 16.6093)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1672 #168E32
analogous
#6E168E #8E1672 #8E1636
triadic
#8E1672 #728E16 #16728E
tetradic
#8E1672 #8E6E16 #168E32 #16368E
square
#8E1672 #8E6E16 #168E32 #16368E
split-complementary
#8E1672 #368E16 #168E6E
monochromatic
#24061D #590E47 #8E1672 #C31E9D #E13DBB

Accessibility & contrast

On white

8.37
#8E1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1672
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1672#FFFFFF#000000##FFFFFF
##8E16721.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#971B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1672;
/* rgb */ color: rgb(142, 22, 114);
/* oklch */ color: oklch(44.6% 0.178 340.1);
Tailwind
colors: {
  custom: {
    50: '#b3649b',
    500: '#8e1672',
    950: '#000000',
  },
}
SCSS
$custom: #8e1672;
$custom-light: #b3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1672",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 314,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.17757,
    "h": 340.1
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#8E1672
secondary
#3FC15D
accent
#F06338
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1672

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

Preview Lab → · Contrast checker → · Palette generator →

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