#80166B#80166B

#80166B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.165 H 337.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#80166B
RGBrgb(128, 22, 107)
HSLhsl(312, 71%, 29%)
HSVhsv(312, 83%, 50%)
CMYKcmyk(0%, 82.8%, 16.4%, 49.8%)
CIE-LABlab(29.97, 51.57, -22.83)
CIE-LCHlch(29.97, 56.40, 336.12°)
OKLaboklab(41.83% 0.1528 -0.0621)
OKLCHoklch(41.83% 0.165 337.9)
XYZxyz(11.8431, 6.2257, 14.4850)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80166B #16802B
analogous
#601680 #80166B #801636
triadic
#80166B #6B8016 #166B80
tetradic
#80166B #806016 #16802B #163680
square
#80166B #806016 #16802B #163680
split-complementary
#80166B #368016 #168060
monochromatic
#1A0416 #4C0D3F #80166B #B41F97 #DC34BB

Accessibility & contrast

On white

9.35
#80166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80166B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80166B#FFFFFF#000000##FFFFFF
##80166B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6D
Deuteranopia (green-blind)
#414C69
Tritanopia (blue-blind)
#871D40
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #80166b;
/* rgb */ color: rgb(128, 22, 107);
/* oklch */ color: oklch(41.8% 0.165 337.9);
Tailwind
colors: {
  custom: {
    50: '#a96295',
    500: '#80166b',
    950: '#000000',
  },
}
SCSS
$custom: #80166b;
$custom-light: #a96295;
$custom-dark: #000000;
JSON
{
  "hex": "#80166b",
  "rgb": {
    "r": 128,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 311.887,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.16493,
    "h": 337.9
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#80166B
secondary
#3DB555
accent
#ED5E3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80166B

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

Preview Lab → · Contrast checker → · Palette generator →

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