#8E186F#8E186F

#8E186F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.174 H 341.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8E186F
RGBrgb(142, 24, 111)
HSLhsl(316, 71%, 33%)
HSVhsv(316, 83%, 56%)
CMYKcmyk(0%, 83.1%, 21.8%, 44.3%)
CIE-LABlab(33.03, 54.89, -20.42)
CIE-LCHlch(33.03, 58.57, 339.60°)
OKLaboklab(44.59% 0.1651 -0.055)
OKLCHoklch(44.59% 0.174 341.6)
XYZxyz(14.3517, 7.5533, 15.7380)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E186F #188E37
analogous
#72188E #8E186F #8E1834
triadic
#8E186F #6F8E18 #186F8E
tetradic
#8E186F #8E7218 #188E37 #18348E
square
#8E186F #8E7218 #188E37 #18348E
split-complementary
#8E186F #348E18 #188E72
monochromatic
#25061D #5A0F46 #8E186F #C22198 #DF41B6

Accessibility & contrast

On white

8.37
#8E186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E186F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E186F#FFFFFF#000000##FFFFFF
##8E186F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#971B43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e186f;
/* rgb */ color: rgb(142, 24, 111);
/* oklch */ color: oklch(44.6% 0.174 341.6);
Tailwind
colors: {
  custom: {
    50: '#b36598',
    500: '#8e186f',
    950: '#000000',
  },
}
SCSS
$custom: #8e186f;
$custom-light: #b36598;
$custom-dark: #000000;
JSON
{
  "hex": "#8e186f",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 315.763,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.17397,
    "h": 341.6
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#8E186F
secondary
#42C063
accent
#EE693A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E186F

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

Preview Lab → · Contrast checker → · Palette generator →

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