#802046#802046

#802046 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.134 H 1.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#802046
RGBrgb(128, 32, 70)
HSLhsl(336, 60%, 31%)
HSVhsv(336, 75%, 50%)
CMYKcmyk(0%, 75%, 45.3%, 49.8%)
CIE-LABlab(29.58, 43.65, 0.78)
CIE-LCHlch(29.58, 43.65, 1.02°)
OKLaboklab(41.04% 0.1338 0.0025)
OKLCHoklch(41.04% 0.134 1.1)
XYZxyz(10.5249, 6.0658, 6.4097)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802046 #20805A
analogous
#802076 #802046 #802A20
triadic
#802046 #468020 #204680
tetradic
#802046 #768020 #20805A #2A2080
square
#802046 #768020 #20805A #2A2080
split-complementary
#802046 #20802A #207680
monochromatic
#1E0810 #4F142B #802046 #B12C61 #D1497F

Accessibility & contrast

On white

9.49
#802046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#802046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802046
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802046#FFFFFF#000000##FFFFFF
##8020461.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#4F4C44
Tritanopia (blue-blind)
#8B1130
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802046;
/* rgb */ color: rgb(128, 32, 70);
/* oklch */ color: oklch(41.0% 0.134 1.1);
Tailwind
colors: {
  custom: {
    50: '#a96479',
    500: '#802046',
    950: '#000000',
  },
}
SCSS
$custom: #802046;
$custom-light: #a96479;
$custom-dark: #000000;
JSON
{
  "hex": "#802046",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 336.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.13383,
    "h": 1.1
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#802046
secondary
#49B389
accent
#E3A445
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #802046

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

Preview Lab → · Contrast checker → · Palette generator →

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