#8A186E#8A186E

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

Color values

HEX#8A186E
RGBrgb(138, 24, 110)
HSLhsl(315, 70%, 32%)
HSVhsv(315, 83%, 54%)
CMYKcmyk(0%, 82.6%, 20.3%, 45.9%)
CIE-LABlab(32.22, 53.81, -21.10)
CIE-LCHlch(32.22, 57.80, 338.59°)
OKLaboklab(43.85% 0.1612 -0.057)
OKLCHoklch(43.85% 0.171 340.5)
XYZxyz(13.6228, 7.1837, 15.4180)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A186E #188A34
analogous
#6D188A #8A186E #8A1835
triadic
#8A186E #6E8A18 #186E8A
tetradic
#8A186E #8A6D18 #188A34 #18358A
square
#8A186E #8A6D18 #188A34 #18358A
split-complementary
#8A186E #358A18 #188A6D
monochromatic
#22061B #560F44 #8A186E #BE2198 #DE3FB7

Accessibility & contrast

On white

8.62
#8A186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A186E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A186E#FFFFFF#000000##FFFFFF
##8A186E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224070
Deuteranopia (green-blind)
#48526B
Tritanopia (blue-blind)
#931C42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a186e;
/* rgb */ color: rgb(138, 24, 110);
/* oklch */ color: oklch(43.8% 0.171 340.5);
Tailwind
colors: {
  custom: {
    50: '#b06498',
    500: '#8a186e',
    950: '#000000',
  },
}
SCSS
$custom: #8a186e;
$custom-light: #b06498;
$custom-dark: #000000;
JSON
{
  "hex": "#8a186e",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 314.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.17095,
    "h": 340.5
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#8A186E
secondary
#40BD5F
accent
#ED663B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A186E

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

Preview Lab → · Contrast checker → · Palette generator →

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