#80166D#80166D

#80166D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.166 H 336.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#80166D
RGBrgb(128, 22, 109)
HSLhsl(311, 71%, 29%)
HSVhsv(311, 83%, 50%)
CMYKcmyk(0%, 82.8%, 14.8%, 49.8%)
CIE-LABlab(30.08, 51.86, -23.95)
CIE-LCHlch(30.08, 57.13, 335.21°)
OKLaboklab(41.94% 0.153 -0.0653)
OKLCHoklch(41.94% 0.166 336.9)
XYZxyz(11.9496, 6.2683, 15.0456)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80166D #168029
analogous
#5E1680 #80166D #801638
triadic
#80166D #6D8016 #166D80
tetradic
#80166D #805E16 #168029 #163880
square
#80166D #805E16 #168029 #163880
split-complementary
#80166D #388016 #16805E
monochromatic
#1A0416 #4C0D41 #80166D #B41F99 #DC34BE

Accessibility & contrast

On white

9.32
#80166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#80166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80166D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80166D#FFFFFF#000000##FFFFFF
##80166D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D6F
Deuteranopia (green-blind)
#404C6B
Tritanopia (blue-blind)
#871E41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #80166d;
/* rgb */ color: rgb(128, 22, 109);
/* oklch */ color: oklch(41.9% 0.166 336.9);
Tailwind
colors: {
  custom: {
    50: '#a86297',
    500: '#80166d',
    950: '#000000',
  },
}
SCSS
$custom: #80166d;
$custom-light: #a86297;
$custom-dark: #000000;
JSON
{
  "hex": "#80166d",
  "rgb": {
    "r": 128,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 310.755,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.16632,
    "h": 336.9
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#80166D
secondary
#3DB553
accent
#ED5A3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80166D

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

Preview Lab → · Contrast checker → · Palette generator →

#80166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva