#8E1868#8E1868

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

Color values

HEX#8E1868
RGBrgb(142, 24, 104)
HSLhsl(319, 71%, 33%)
HSVhsv(319, 83%, 56%)
CMYKcmyk(0%, 83.1%, 26.8%, 44.3%)
CIE-LABlab(32.71, 53.98, -16.44)
CIE-LCHlch(32.71, 56.43, 343.06°)
OKLaboklab(44.25% 0.1639 -0.0438)
OKLCHoklch(44.25% 0.17 345)
XYZxyz(13.9813, 7.4051, 13.7871)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1868 #188E3E
analogous
#79188E #8E1868 #8E182D
triadic
#8E1868 #688E18 #18688E
tetradic
#8E1868 #8E7918 #188E3E #182D8E
square
#8E1868 #8E7918 #188E3E #182D8E
split-complementary
#8E1868 #2D8E18 #188E79
monochromatic
#25061B #5A0F42 #8E1868 #C2218E #DF41AC

Accessibility & contrast

On white

8.47
#8E1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1868
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1868#FFFFFF#000000##FFFFFF
##8E18681.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1868;
/* rgb */ color: rgb(142, 24, 104);
/* oklch */ color: oklch(44.3% 0.170 345.0);
Tailwind
colors: {
  custom: {
    50: '#b36593',
    500: '#8e1868',
    950: '#000000',
  },
}
SCSS
$custom: #8e1868;
$custom-light: #b36593;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1868",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 319.322,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.16967,
    "h": 345
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#8E1868
secondary
#42C06B
accent
#EE743A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E1868

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

Preview Lab → · Contrast checker → · Palette generator →

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