#802066#802066

#802066 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 341.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#802066
RGBrgb(128, 32, 102)
HSLhsl(316, 60%, 31%)
HSVhsv(316, 75%, 50%)
CMYKcmyk(0%, 75%, 20.3%, 49.8%)
CIE-LABlab(30.84, 47.67, -18.27)
CIE-LCHlch(30.84, 51.05, 339.03°)
OKLaboklab(42.37% 0.1426 -0.0492)
OKLCHoklch(42.37% 0.151 341)
XYZxyz(11.8172, 6.5827, 13.2160)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802066 #20803A
analogous
#6A2080 #802066 #802036
triadic
#802066 #668020 #206680
tetradic
#802066 #806A20 #20803A #203680
square
#802066 #806A20 #20803A #203680
split-complementary
#802066 #368020 #20806A
monochromatic
#1E0818 #4F143F #802066 #B12C8D #D149AC

Accessibility & contrast

On white

9.07
#802066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#802066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802066
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802066#FFFFFF#000000##FFFFFF
##8020661.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F68
Deuteranopia (green-blind)
#464E64
Tritanopia (blue-blind)
#882240
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802066;
/* rgb */ color: rgb(128, 32, 102);
/* oklch */ color: oklch(42.4% 0.151 341.0);
Tailwind
colors: {
  custom: {
    50: '#a86592',
    500: '#802066',
    950: '#000000',
  },
}
SCSS
$custom: #802066;
$custom-light: #a86592;
$custom-dark: #000000;
JSON
{
  "hex": "#802066",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 316.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42373,
    "c": 0.1508,
    "h": 341
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#802066
secondary
#49B366
accent
#E37045
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #802066

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

Preview Lab → · Contrast checker → · Palette generator →

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