#801766#801766

#801766 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.161 H 340.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#801766
RGBrgb(128, 23, 102)
HSLhsl(315, 70%, 30%)
HSVhsv(315, 82%, 50%)
CMYKcmyk(0%, 82%, 20.3%, 49.8%)
CIE-LABlab(29.82, 50.57, -19.85)
CIE-LCHlch(29.82, 54.33, 338.57°)
OKLaboklab(41.64% 0.1514 -0.0536)
OKLCHoklch(41.64% 0.161 340.5)
XYZxyz(11.6071, 6.1625, 13.1460)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801766 #178031
analogous
#661780 #801766 #801732
triadic
#801766 #668017 #176680
tetradic
#801766 #806617 #178031 #173280
square
#801766 #806617 #178031 #173280
split-complementary
#801766 #328017 #178066
monochromatic
#1A0515 #4C0E3D #801766 #B4208F #DB36B2

Accessibility & contrast

On white

9.41
#801766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#801766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801766
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801766#FFFFFF#000000##FFFFFF
##8017661.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#434C64
Tritanopia (blue-blind)
#881B3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #801766;
/* rgb */ color: rgb(128, 23, 102);
/* oklch */ color: oklch(41.6% 0.161 340.5);
Tailwind
colors: {
  custom: {
    50: '#a96292',
    500: '#801766',
    950: '#000000',
  },
}
SCSS
$custom: #801766;
$custom-light: #a96292;
$custom-dark: #000000;
JSON
{
  "hex": "#801766",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 314.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.1606,
    "h": 340.5
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#801766
secondary
#3EB45C
accent
#EC673B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #801766

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

Preview Lab → · Contrast checker → · Palette generator →

#801766 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva