#8E186E#8E186E

#8E186E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 342.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8E186E
RGBrgb(142, 24, 110)
HSLhsl(316, 71%, 33%)
HSVhsv(316, 83%, 56%)
CMYKcmyk(0%, 83.1%, 22.5%, 44.3%)
CIE-LABlab(32.99, 54.76, -19.85)
CIE-LCHlch(32.99, 58.25, 340.07°)
OKLaboklab(44.54% 0.1649 -0.0534)
OKLCHoklch(44.54% 0.173 342.1)
XYZxyz(14.2970, 7.5314, 15.4496)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E186E #188E38
analogous
#73188E #8E186E #8E1833
triadic
#8E186E #6E8E18 #186E8E
tetradic
#8E186E #8E7318 #188E38 #18338E
square
#8E186E #8E7318 #188E38 #18338E
split-complementary
#8E186E #338E18 #188E73
monochromatic
#25061D #5A0F45 #8E186E #C22197 #DF41B4

Accessibility & contrast

On white

8.38
#8E186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E186E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E186E#FFFFFF#000000##FFFFFF
##8E186E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#4C546B
Tritanopia (blue-blind)
#971A42
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e186e;
/* rgb */ color: rgb(142, 24, 110);
/* oklch */ color: oklch(44.5% 0.173 342.1);
Tailwind
colors: {
  custom: {
    50: '#b36597',
    500: '#8e186e',
    950: '#000000',
  },
}
SCSS
$custom: #8e186e;
$custom-light: #b36597;
$custom-dark: #000000;
JSON
{
  "hex": "#8e186e",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 316.271,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.17334,
    "h": 342.1
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#8E186E
secondary
#42C064
accent
#EE6B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E186E

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

Preview Lab → · Contrast checker → · Palette generator →

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