#80186C#80186C

#80186C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 42.0% C 0.164 H 337.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#80186C
RGBrgb(128, 24, 108)
HSLhsl(312, 68%, 30%)
HSVhsv(312, 81%, 50%)
CMYKcmyk(0%, 81.3%, 15.6%, 49.8%)
CIE-LABlab(30.22, 51.16, -23.09)
CIE-LCHlch(30.22, 56.12, 335.71°)
OKLaboklab(42.02% 0.1512 -0.0628)
OKLCHoklch(42.02% 0.164 337.4)
XYZxyz(11.9358, 6.3263, 14.7770)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80186C #18802C
analogous
#601880 #80186C #801838
triadic
#80186C #6C8018 #186C80
tetradic
#80186C #806018 #18802C #183880
square
#80186C #806018 #18802C #183880
split-complementary
#80186C #388018 #188060
monochromatic
#1A0516 #4C0E41 #80186C #B42297 #DA39BB

Accessibility & contrast

On white

9.27
#80186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#80186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80186C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80186C#FFFFFF#000000##FFFFFF
##80186C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#414D6A
Tritanopia (blue-blind)
#871F41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #80186c;
/* rgb */ color: rgb(128, 24, 108);
/* oklch */ color: oklch(42.0% 0.164 337.4);
Tailwind
colors: {
  custom: {
    50: '#a86296',
    500: '#80186c',
    950: '#000000',
  },
}
SCSS
$custom: #80186c;
$custom-light: #a86296;
$custom-dark: #000000;
JSON
{
  "hex": "#80186c",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 311.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.16374,
    "h": 337.4
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#80186C
secondary
#40B456
accent
#EB5E3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80186C

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

Preview Lab → · Contrast checker → · Palette generator →

#80186C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva