#8D186B#8D186B

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

Color values

HEX#8D186B
RGBrgb(141, 24, 107)
HSLhsl(317, 71%, 32%)
HSVhsv(317, 83%, 55%)
CMYKcmyk(0%, 83%, 24.1%, 44.7%)
CIE-LABlab(32.65, 54.12, -18.47)
CIE-LCHlch(32.65, 57.19, 341.16°)
OKLaboklab(44.22% 0.1635 -0.0495)
OKLCHoklch(44.22% 0.171 343.2)
XYZxyz(13.9655, 7.3791, 14.5959)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D186B #188D3A
analogous
#75188D #8D186B #8D1830
triadic
#8D186B #6B8D18 #186B8D
tetradic
#8D186B #8D7518 #188D3A #18308D
square
#8D186B #8D7518 #188D3A #18308D
split-complementary
#8D186B #308D18 #188D75
monochromatic
#24061C #590F43 #8D186B #C12193 #DF41B1

Accessibility & contrast

On white

8.48
#8D186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D186B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D186B#FFFFFF#000000##FFFFFF
##8D186B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4C5468
Tritanopia (blue-blind)
#971841
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d186b;
/* rgb */ color: rgb(141, 24, 107);
/* oklch */ color: oklch(44.2% 0.171 343.2);
Tailwind
colors: {
  custom: {
    50: '#b26595',
    500: '#8d186b',
    950: '#000000',
  },
}
SCSS
$custom: #8d186b;
$custom-light: #b26595;
$custom-dark: #000000;
JSON
{
  "hex": "#8d186b",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 317.436,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44219,
    "c": 0.17086,
    "h": 343.2
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#8D186B
secondary
#42BF66
accent
#EE6E3A
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D186B

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

Preview Lab → · Contrast checker → · Palette generator →

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