#8E1673#8E1673

#8E1673 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.178 H 339.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8E1673
RGBrgb(142, 22, 115)
HSLhsl(314, 73%, 32%)
HSVhsv(314, 85%, 56%)
CMYKcmyk(0%, 84.5%, 19%, 44.3%)
CIE-LABlab(33.06, 55.94, -22.92)
CIE-LCHlch(33.06, 60.45, 337.72°)
OKLaboklab(44.67% 0.1671 -0.0621)
OKLCHoklch(44.67% 0.178 339.6)
XYZxyz(14.5372, 7.5639, 16.9107)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1673 #168E31
analogous
#6D168E #8E1673 #8E1637
triadic
#8E1673 #738E16 #16738E
tetradic
#8E1673 #8E6D16 #168E31 #16378E
square
#8E1673 #8E6D16 #168E31 #16378E
split-complementary
#8E1673 #378E16 #168E6D
monochromatic
#24061D #590E48 #8E1673 #C31E9E #E13DBC

Accessibility & contrast

On white

8.36
#8E1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1673
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1673#FFFFFF#000000##FFFFFF
##8E16731.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#971C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1673;
/* rgb */ color: rgb(142, 22, 115);
/* oklch */ color: oklch(44.7% 0.178 339.6);
Tailwind
colors: {
  custom: {
    50: '#b3649b',
    500: '#8e1673',
    950: '#000000',
  },
}
SCSS
$custom: #8e1673;
$custom-light: #b3649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1673",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 313.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.17822,
    "h": 339.6
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#8E1673
secondary
#3FC15C
accent
#F06138
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1673

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

Preview Lab → · Contrast checker → · Palette generator →

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