#8D186C#8D186C

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

Color values

HEX#8D186C
RGBrgb(141, 24, 108)
HSLhsl(317, 71%, 32%)
HSVhsv(317, 83%, 55%)
CMYKcmyk(0%, 83%, 23.4%, 44.7%)
CIE-LABlab(32.70, 54.26, -19.04)
CIE-LCHlch(32.70, 57.50, 340.66°)
OKLaboklab(44.27% 0.1637 -0.0511)
OKLCHoklch(44.27% 0.171 342.7)
XYZxyz(14.0185, 7.4002, 14.8746)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D186C #188D39
analogous
#74188D #8D186C #8D1832
triadic
#8D186C #6C8D18 #186C8D
tetradic
#8D186C #8D7418 #188D39 #18328D
square
#8D186C #8D7418 #188D39 #18328D
split-complementary
#8D186C #328D18 #188D74
monochromatic
#24061C #590F44 #8D186C #C12194 #DF41B2

Accessibility & contrast

On white

8.47
#8D186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D186C
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D186C#FFFFFF#000000##FFFFFF
##8D186C1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#4C5469
Tritanopia (blue-blind)
#961941
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d186c;
/* rgb */ color: rgb(141, 24, 108);
/* oklch */ color: oklch(44.3% 0.171 342.7);
Tailwind
colors: {
  custom: {
    50: '#b26596',
    500: '#8d186c',
    950: '#000000',
  },
}
SCSS
$custom: #8d186c;
$custom-light: #b26596;
$custom-dark: #000000;
JSON
{
  "hex": "#8d186c",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 316.923,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44267,
    "c": 0.17148,
    "h": 342.7
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#8D186C
secondary
#42BF65
accent
#EE6D3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D186C

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

Preview Lab → · Contrast checker → · Palette generator →

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