#8E1767#8E1767

#8E1767 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.170 H 345.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8E1767
RGBrgb(142, 23, 103)
HSLhsl(320, 72%, 32%)
HSVhsv(320, 84%, 56%)
CMYKcmyk(0%, 83.8%, 27.5%, 44.3%)
CIE-LABlab(32.58, 54.11, -16.01)
CIE-LCHlch(32.58, 56.42, 343.52°)
OKLaboklab(44.14% 0.1645 -0.0426)
OKLCHoklch(44.14% 0.17 345.5)
XYZxyz(13.9106, 7.3444, 13.5144)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1767 #178E3E
analogous
#7A178E #8E1767 #8E172B
triadic
#8E1767 #678E17 #17678E
tetradic
#8E1767 #8E7A17 #178E3E #172B8E
square
#8E1767 #8E7A17 #178E3E #172B8E
split-complementary
#8E1767 #2B8E17 #178E7A
monochromatic
#25061B #590E41 #8E1767 #C3208D #E03FAB

Accessibility & contrast

On white

8.51
#8E1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1767
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1767#FFFFFF#000000##FFFFFF
##8E17671.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294069
Deuteranopia (green-blind)
#4E5464
Tritanopia (blue-blind)
#98143E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1767;
/* rgb */ color: rgb(142, 23, 103);
/* oklch */ color: oklch(44.1% 0.170 345.5);
Tailwind
colors: {
  custom: {
    50: '#b36492',
    500: '#8e1767',
    950: '#000000',
  },
}
SCSS
$custom: #8e1767;
$custom-light: #b36492;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1767",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 319.664,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.16995,
    "h": 345.5
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#8E1767
secondary
#40C06A
accent
#EF7539
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E1767

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

Preview Lab → · Contrast checker → · Palette generator →

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