#8E1768#8E1768

#8E1768 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.171 H 345.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8E1768
RGBrgb(142, 23, 104)
HSLhsl(319, 72%, 32%)
HSVhsv(319, 84%, 56%)
CMYKcmyk(0%, 83.8%, 26.8%, 44.3%)
CIE-LABlab(32.62, 54.23, -16.58)
CIE-LCHlch(32.62, 56.71, 343.00°)
OKLaboklab(44.19% 0.1647 -0.0442)
OKLCHoklch(44.19% 0.171 345)
XYZxyz(13.9611, 7.3646, 13.7803)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1768 #178E3D
analogous
#79178E #8E1768 #8E172C
triadic
#8E1768 #688E17 #17688E
tetradic
#8E1768 #8E7917 #178E3D #172C8E
square
#8E1768 #8E7917 #178E3D #172C8E
split-complementary
#8E1768 #2C8E17 #178E79
monochromatic
#25061B #590E41 #8E1768 #C3208F #E03FAD

Accessibility & contrast

On white

8.49
#8E1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1768
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1768#FFFFFF#000000##FFFFFF
##8E17681.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#4D5465
Tritanopia (blue-blind)
#98143F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1768;
/* rgb */ color: rgb(142, 23, 104);
/* oklch */ color: oklch(44.2% 0.171 345.0);
Tailwind
colors: {
  custom: {
    50: '#b36493',
    500: '#8e1768',
    950: '#000000',
  },
}
SCSS
$custom: #8e1768;
$custom-light: #b36493;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1768",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 319.16,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.17054,
    "h": 345
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#8E1768
secondary
#40C069
accent
#EF7339
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E1768

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

Preview Lab → · Contrast checker → · Palette generator →

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