#8D186D#8D186D

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

Color values

HEX#8D186D
RGBrgb(141, 24, 109)
HSLhsl(316, 71%, 32%)
HSVhsv(316, 83%, 55%)
CMYKcmyk(0%, 83%, 22.7%, 44.7%)
CIE-LABlab(32.75, 54.39, -19.60)
CIE-LCHlch(32.75, 57.81, 340.18°)
OKLaboklab(44.32% 0.1638 -0.0527)
OKLCHoklch(44.32% 0.172 342.2)
XYZxyz(14.0720, 7.4216, 15.1565)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D186D #188D38
analogous
#72188D #8D186D #8D1833
triadic
#8D186D #6D8D18 #186D8D
tetradic
#8D186D #8D7218 #188D38 #18338D
square
#8D186D #8D7218 #188D38 #18338D
split-complementary
#8D186D #338D18 #188D72
monochromatic
#24061C #590F45 #8D186D #C12195 #DF41B3

Accessibility & contrast

On white

8.45
#8D186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D186D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D186D#FFFFFF#000000##FFFFFF
##8D186D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#4B546A
Tritanopia (blue-blind)
#961A42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d186d;
/* rgb */ color: rgb(141, 24, 109);
/* oklch */ color: oklch(44.3% 0.172 342.2);
Tailwind
colors: {
  custom: {
    50: '#b26597',
    500: '#8d186d',
    950: '#000000',
  },
}
SCSS
$custom: #8d186d;
$custom-light: #b26597;
$custom-dark: #000000;
JSON
{
  "hex": "#8d186d",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 316.41,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.1721,
    "h": 342.2
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#8D186D
secondary
#42BF64
accent
#EE6B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D186D

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

Preview Lab → · Contrast checker → · Palette generator →

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