#8E186B#8E186B

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

Color values

HEX#8E186B
RGBrgb(142, 24, 107)
HSLhsl(318, 71%, 33%)
HSVhsv(318, 83%, 56%)
CMYKcmyk(0%, 83.1%, 24.6%, 44.3%)
CIE-LABlab(32.85, 54.36, -18.16)
CIE-LCHlch(32.85, 57.32, 341.53°)
OKLaboklab(44.39% 0.1645 -0.0486)
OKLCHoklch(44.39% 0.171 343.5)
XYZxyz(14.1364, 7.4671, 14.6039)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E186B #188E3B
analogous
#76188E #8E186B #8E1830
triadic
#8E186B #6B8E18 #186B8E
tetradic
#8E186B #8E7618 #188E3B #18308E
square
#8E186B #8E7618 #188E3B #18308E
split-complementary
#8E186B #308E18 #188E76
monochromatic
#25061C #5A0F44 #8E186B #C22192 #DF41B0

Accessibility & contrast

On white

8.42
#8E186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E186B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E186B#FFFFFF#000000##FFFFFF
##8E186B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#981841
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e186b;
/* rgb */ color: rgb(142, 24, 107);
/* oklch */ color: oklch(44.4% 0.171 343.5);
Tailwind
colors: {
  custom: {
    50: '#b36595',
    500: '#8e186b',
    950: '#000000',
  },
}
SCSS
$custom: #8e186b;
$custom-light: #b36595;
$custom-dark: #000000;
JSON
{
  "hex": "#8e186b",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 317.797,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44393,
    "c": 0.17148,
    "h": 343.5
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#8E186B
secondary
#42C067
accent
#EE6F3A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E186B

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

Preview Lab → · Contrast checker → · Palette generator →

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