#8D186E#8D186E

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

Color values

HEX#8D186E
RGBrgb(141, 24, 110)
HSLhsl(316, 71%, 32%)
HSVhsv(316, 83%, 55%)
CMYKcmyk(0%, 83%, 22%, 44.7%)
CIE-LABlab(32.80, 54.52, -20.17)
CIE-LCHlch(32.80, 58.13, 339.70°)
OKLaboklab(44.37% 0.164 -0.0543)
OKLCHoklch(44.37% 0.173 341.7)
XYZxyz(14.1261, 7.4433, 15.4416)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D186E #188D37
analogous
#71188D #8D186E #8D1834
triadic
#8D186E #6E8D18 #186E8D
tetradic
#8D186E #8D7118 #188D37 #18348D
square
#8D186E #8D7118 #188D37 #18348D
split-complementary
#8D186E #348D18 #188D71
monochromatic
#24061C #590F45 #8D186E #C12197 #DF41B5

Accessibility & contrast

On white

8.44
#8D186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D186E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D186E#FFFFFF#000000##FFFFFF
##8D186E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#961A42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d186e;
/* rgb */ color: rgb(141, 24, 110);
/* oklch */ color: oklch(44.4% 0.173 341.7);
Tailwind
colors: {
  custom: {
    50: '#b26597',
    500: '#8d186e',
    950: '#000000',
  },
}
SCSS
$custom: #8d186e;
$custom-light: #b26597;
$custom-dark: #000000;
JSON
{
  "hex": "#8d186e",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 315.897,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44366,
    "c": 0.17273,
    "h": 341.7
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#8D186E
secondary
#42BF63
accent
#EE6A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D186E

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

Preview Lab → · Contrast checker → · Palette generator →

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