#8A186D#8A186D

#8A186D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.170 H 341.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8A186D
RGBrgb(138, 24, 109)
HSLhsl(315, 70%, 32%)
HSVhsv(315, 83%, 54%)
CMYKcmyk(0%, 82.6%, 21%, 45.9%)
CIE-LABlab(32.17, 53.67, -20.54)
CIE-LCHlch(32.17, 57.47, 339.06°)
OKLaboklab(43.8% 0.161 -0.0554)
OKLCHoklch(43.8% 0.17 341)
XYZxyz(13.5686, 7.1621, 15.1329)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A186D #188A35
analogous
#6E188A #8A186D #8A1834
triadic
#8A186D #6D8A18 #186D8A
tetradic
#8A186D #8A6E18 #188A35 #18348A
square
#8A186D #8A6E18 #188A35 #18348A
split-complementary
#8A186D #348A18 #188A6E
monochromatic
#22061B #560F44 #8A186D #BE2196 #DE3FB5

Accessibility & contrast

On white

8.63
#8A186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A186D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A186D#FFFFFF#000000##FFFFFF
##8A186D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406F
Deuteranopia (green-blind)
#49526A
Tritanopia (blue-blind)
#931B42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a186d;
/* rgb */ color: rgb(138, 24, 109);
/* oklch */ color: oklch(43.8% 0.170 341.0);
Tailwind
colors: {
  custom: {
    50: '#b06497',
    500: '#8a186d',
    950: '#000000',
  },
}
SCSS
$custom: #8a186d;
$custom-light: #b06497;
$custom-dark: #000000;
JSON
{
  "hex": "#8a186d",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 315.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.1703,
    "h": 341
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#8A186D
secondary
#40BD60
accent
#ED683B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A186D

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

Preview Lab → · Contrast checker → · Palette generator →

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