#8B186F#8B186F

#8B186F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.172 H 340.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8B186F
RGBrgb(139, 24, 111)
HSLhsl(315, 71%, 32%)
HSVhsv(315, 83%, 55%)
CMYKcmyk(0%, 82.7%, 20.1%, 45.5%)
CIE-LABlab(32.46, 54.19, -21.35)
CIE-LCHlch(32.46, 58.24, 338.49°)
OKLaboklab(44.07% 0.1622 -0.0577)
OKLCHoklch(44.07% 0.172 340.4)
XYZxyz(13.8438, 7.2914, 15.7142)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B186F #188B34
analogous
#6E188B #8B186F #8B1835
triadic
#8B186F #6F8B18 #186F8B
tetradic
#8B186F #8B6E18 #188B34 #18358B
square
#8B186F #8B6E18 #188B34 #18358B
split-complementary
#8B186F #358B18 #188B6E
monochromatic
#23061C #570F45 #8B186F #BF2199 #DE3FB7

Accessibility & contrast

On white

8.54
#8B186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B186F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B186F#FFFFFF#000000##FFFFFF
##8B186F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#49536C
Tritanopia (blue-blind)
#941C43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b186f;
/* rgb */ color: rgb(139, 24, 111);
/* oklch */ color: oklch(44.1% 0.172 340.4);
Tailwind
colors: {
  custom: {
    50: '#b16498',
    500: '#8b186f',
    950: '#000000',
  },
}
SCSS
$custom: #8b186f;
$custom-light: #b16498;
$custom-dark: #000000;
JSON
{
  "hex": "#8b186f",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 314.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44071,
    "c": 0.17219,
    "h": 340.4
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#8B186F
secondary
#40BE5F
accent
#ED663A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8B186F

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

Preview Lab → · Contrast checker → · Palette generator →

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