#8D186A#8D186A

#8D186A is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.170 H 343.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8D186A
RGBrgb(141, 24, 106)
HSLhsl(318, 71%, 32%)
HSVhsv(318, 83%, 55%)
CMYKcmyk(0%, 83%, 24.8%, 44.7%)
CIE-LABlab(32.61, 53.99, -17.90)
CIE-LCHlch(32.61, 56.88, 341.66°)
OKLaboklab(44.17% 0.1634 -0.0479)
OKLCHoklch(44.17% 0.17 343.7)
XYZxyz(13.9132, 7.3581, 14.3204)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D186A #188D3B
analogous
#76188D #8D186A #8D182F
triadic
#8D186A #6A8D18 #186A8D
tetradic
#8D186A #8D7618 #188D3B #182F8D
square
#8D186A #8D7618 #188D3B #182F8D
split-complementary
#8D186A #2F8D18 #188D76
monochromatic
#24061B #590F43 #8D186A #C12191 #DF41AF

Accessibility & contrast

On white

8.50
#8D186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8D186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D186A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D186A#FFFFFF#000000##FFFFFF
##8D186A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#4C5467
Tritanopia (blue-blind)
#971840
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d186a;
/* rgb */ color: rgb(141, 24, 106);
/* oklch */ color: oklch(44.2% 0.170 343.7);
Tailwind
colors: {
  custom: {
    50: '#b26594',
    500: '#8d186a',
    950: '#000000',
  },
}
SCSS
$custom: #8d186a;
$custom-light: #b26594;
$custom-dark: #000000;
JSON
{
  "hex": "#8d186a",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 317.949,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.17025,
    "h": 343.7
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#8D186A
secondary
#42BF67
accent
#EE703A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D186A

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

Preview Lab → · Contrast checker → · Palette generator →

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