#8D186F#8D186F

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

Color values

HEX#8D186F
RGBrgb(141, 24, 111)
HSLhsl(315, 71%, 32%)
HSVhsv(315, 83%, 55%)
CMYKcmyk(0%, 83%, 21.3%, 44.7%)
CIE-LABlab(32.84, 54.66, -20.73)
CIE-LCHlch(32.84, 58.46, 339.23°)
OKLaboklab(44.42% 0.1641 -0.0559)
OKLCHoklch(44.42% 0.173 341.2)
XYZxyz(14.1809, 7.4652, 15.7300)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D186F #188D36
analogous
#71188D #8D186F #8D1834
triadic
#8D186F #6F8D18 #186F8D
tetradic
#8D186F #8D7118 #188D36 #18348D
square
#8D186F #8D7118 #188D36 #18348D
split-complementary
#8D186F #348D18 #188D71
monochromatic
#24061D #590F46 #8D186F #C12198 #DF41B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D186F#FFFFFF#000000##FFFFFF
##8D186F1.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)
#244171
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#961B43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d186f;
/* rgb */ color: rgb(141, 24, 111);
/* oklch */ color: oklch(44.4% 0.173 341.2);
Tailwind
colors: {
  custom: {
    50: '#b26598',
    500: '#8d186f',
    950: '#000000',
  },
}
SCSS
$custom: #8d186f;
$custom-light: #b26598;
$custom-dark: #000000;
JSON
{
  "hex": "#8d186f",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 315.385,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.17337,
    "h": 341.2
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#8D186F
secondary
#42BF62
accent
#EE683A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D186F

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

Preview Lab → · Contrast checker → · Palette generator →

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