#8E186C#8E186C

#8E186C is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.172 H 343.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8E186C
RGBrgb(142, 24, 108)
HSLhsl(317, 71%, 33%)
HSVhsv(317, 83%, 56%)
CMYKcmyk(0%, 83.1%, 23.9%, 44.3%)
CIE-LABlab(32.89, 54.49, -18.72)
CIE-LCHlch(32.89, 57.62, 341.04°)
OKLaboklab(44.44% 0.1646 -0.0502)
OKLCHoklch(44.44% 0.172 343)
XYZxyz(14.1893, 7.4883, 14.8826)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E186C #188E3A
analogous
#75188E #8E186C #8E1831
triadic
#8E186C #6C8E18 #186C8E
tetradic
#8E186C #8E7518 #188E3A #18318E
square
#8E186C #8E7518 #188E3A #18318E
split-complementary
#8E186C #318E18 #188E75
monochromatic
#25061C #5A0F44 #8E186C #C22194 #DF41B2

Accessibility & contrast

On white

8.41
#8E186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E186C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E186C#FFFFFF#000000##FFFFFF
##8E186C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#4C5469
Tritanopia (blue-blind)
#981941
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e186c;
/* rgb */ color: rgb(142, 24, 108);
/* oklch */ color: oklch(44.4% 0.172 343.0);
Tailwind
colors: {
  custom: {
    50: '#b36596',
    500: '#8e186c',
    950: '#000000',
  },
}
SCSS
$custom: #8e186c;
$custom-light: #b36596;
$custom-dark: #000000;
JSON
{
  "hex": "#8e186c",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 317.288,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44441,
    "c": 0.17209,
    "h": 343
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#8E186C
secondary
#42C066
accent
#EE6E3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E186C

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

Preview Lab → · Contrast checker → · Palette generator →

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