#8A186C#8A186C

#8A186C is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.170 H 341.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A186C
RGBrgb(138, 24, 108)
HSLhsl(316, 70%, 32%)
HSVhsv(316, 83%, 54%)
CMYKcmyk(0%, 82.6%, 21.7%, 45.9%)
CIE-LABlab(32.13, 53.54, -19.98)
CIE-LCHlch(32.13, 57.14, 339.54°)
OKLaboklab(43.75% 0.1609 -0.0538)
OKLCHoklch(43.75% 0.17 341.5)
XYZxyz(13.5151, 7.1407, 14.8510)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A186C #188A36
analogous
#6F188A #8A186C #8A1833
triadic
#8A186C #6C8A18 #186C8A
tetradic
#8A186C #8A6F18 #188A36 #18338A
square
#8A186C #8A6F18 #188A36 #18338A
split-complementary
#8A186C #338A18 #188A6F
monochromatic
#22061A #560F43 #8A186C #BE2195 #DE3FB4

Accessibility & contrast

On white

8.65
#8A186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A186C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A186C#FFFFFF#000000##FFFFFF
##8A186C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406E
Deuteranopia (green-blind)
#495269
Tritanopia (blue-blind)
#931B41
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a186c;
/* rgb */ color: rgb(138, 24, 108);
/* oklch */ color: oklch(43.7% 0.170 341.5);
Tailwind
colors: {
  custom: {
    50: '#b06496',
    500: '#8a186c',
    950: '#000000',
  },
}
SCSS
$custom: #8a186c;
$custom-light: #b06496;
$custom-dark: #000000;
JSON
{
  "hex": "#8a186c",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 315.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.16965,
    "h": 341.5
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#8A186C
secondary
#40BD61
accent
#ED6A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A186C

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

Preview Lab → · Contrast checker → · Palette generator →

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