#8B186E#8B186E

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

Color values

HEX#8B186E
RGBrgb(139, 24, 110)
HSLhsl(315, 71%, 32%)
HSVhsv(315, 83%, 55%)
CMYKcmyk(0%, 82.7%, 20.9%, 45.5%)
CIE-LABlab(32.41, 54.05, -20.79)
CIE-LCHlch(32.41, 57.91, 338.96°)
OKLaboklab(44.02% 0.1621 -0.0561)
OKLCHoklch(44.02% 0.172 340.9)
XYZxyz(13.7890, 7.2695, 15.4258)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B186E #188B35
analogous
#6E188B #8B186E #8B1835
triadic
#8B186E #6E8B18 #186E8B
tetradic
#8B186E #8B6E18 #188B35 #18358B
square
#8B186E #8B6E18 #188B35 #18358B
split-complementary
#8B186E #358B18 #188B6E
monochromatic
#23061B #570F45 #8B186E #BF2197 #DE3FB6

Accessibility & contrast

On white

8.56
#8B186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8B186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B186E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B186E#FFFFFF#000000##FFFFFF
##8B186E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234170
Deuteranopia (green-blind)
#49536B
Tritanopia (blue-blind)
#941B42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b186e;
/* rgb */ color: rgb(139, 24, 110);
/* oklch */ color: oklch(44.0% 0.172 340.9);
Tailwind
colors: {
  custom: {
    50: '#b16498',
    500: '#8b186e',
    950: '#000000',
  },
}
SCSS
$custom: #8b186e;
$custom-light: #b16498;
$custom-dark: #000000;
JSON
{
  "hex": "#8b186e",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 315.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4402,
    "c": 0.17155,
    "h": 340.9
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#8B186E
secondary
#40BE60
accent
#ED683A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8B186E

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

Preview Lab → · Contrast checker → · Palette generator →

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