#8A186F#8A186F

#8A186F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.172 H 340.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8A186F
RGBrgb(138, 24, 111)
HSLhsl(314, 70%, 32%)
HSVhsv(314, 83%, 54%)
CMYKcmyk(0%, 82.6%, 19.6%, 45.9%)
CIE-LABlab(32.27, 53.95, -21.66)
CIE-LCHlch(32.27, 58.14, 338.12°)
OKLaboklab(43.9% 0.1613 -0.0586)
OKLCHoklch(43.9% 0.172 340)
XYZxyz(13.6775, 7.2057, 15.7064)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A186F #188A33
analogous
#6C188A #8A186F #8A1836
triadic
#8A186F #6F8A18 #186F8A
tetradic
#8A186F #8A6C18 #188A33 #18368A
square
#8A186F #8A6C18 #188A33 #18368A
split-complementary
#8A186F #368A18 #188A6C
monochromatic
#22061B #560F45 #8A186F #BE2199 #DE3FB8

Accessibility & contrast

On white

8.60
#8A186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A186F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A186F#FFFFFF#000000##FFFFFF
##8A186F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224071
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#931D43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a186f;
/* rgb */ color: rgb(138, 24, 111);
/* oklch */ color: oklch(43.9% 0.172 340.0);
Tailwind
colors: {
  custom: {
    50: '#b06498',
    500: '#8a186f',
    950: '#000000',
  },
}
SCSS
$custom: #8a186f;
$custom-light: #b06498;
$custom-dark: #000000;
JSON
{
  "hex": "#8a186f",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 314.211,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43899,
    "c": 0.17161,
    "h": 340
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#8A186F
secondary
#40BD5E
accent
#ED653B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A186F

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

Preview Lab → · Contrast checker → · Palette generator →

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