#8E1764#8E1764

#8E1764 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.168 H 347.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8E1764
RGBrgb(142, 23, 100)
HSLhsl(321, 72%, 32%)
HSVhsv(321, 84%, 56%)
CMYKcmyk(0%, 83.8%, 29.6%, 44.3%)
CIE-LABlab(32.45, 53.73, -14.28)
CIE-LCHlch(32.45, 55.60, 345.12°)
OKLaboklab(44% 0.1639 -0.0378)
OKLCHoklch(44% 0.168 347)
XYZxyz(13.7627, 7.2853, 12.7356)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1764 #178E41
analogous
#7C178E #8E1764 #8E1729
triadic
#8E1764 #648E17 #17648E
tetradic
#8E1764 #8E7C17 #178E41 #17298E
square
#8E1764 #8E7C17 #178E41 #17298E
split-complementary
#8E1764 #298E17 #178E7C
monochromatic
#25061A #590E3F #8E1764 #C32089 #E03FA7

Accessibility & contrast

On white

8.55
#8E1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1764
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1764#FFFFFF#000000##FFFFFF
##8E17641.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F66
Deuteranopia (green-blind)
#4F5361
Tritanopia (blue-blind)
#98113D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1764;
/* rgb */ color: rgb(142, 23, 100);
/* oklch */ color: oklch(44.0% 0.168 347.0);
Tailwind
colors: {
  custom: {
    50: '#b36490',
    500: '#8e1764',
    950: '#000000',
  },
}
SCSS
$custom: #8e1764;
$custom-light: #b36490;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1764",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 321.176,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.16823,
    "h": 347
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#8E1764
secondary
#40C06E
accent
#EF7939
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1764

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

Preview Lab → · Contrast checker → · Palette generator →

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