#802070#802070

#802070 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 335.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#802070
RGBrgb(128, 32, 112)
HSLhsl(310, 60%, 31%)
HSVhsv(310, 75%, 50%)
CMYKcmyk(0%, 75%, 12.5%, 49.8%)
CIE-LABlab(31.33, 49.19, -23.91)
CIE-LCHlch(31.33, 54.69, 334.08°)
OKLaboklab(42.89% 0.1439 -0.0652)
OKLCHoklch(42.89% 0.158 335.6)
XYZxyz(12.3434, 6.7932, 15.9872)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802070 #208030
analogous
#602080 #802070 #802040
triadic
#802070 #708020 #207080
tetradic
#802070 #806020 #208030 #204080
square
#802070 #806020 #208030 #204080
split-complementary
#802070 #408020 #208060
monochromatic
#1E081A #4F1445 #802070 #B12C9B #D149BB

Accessibility & contrast

On white

8.90
#802070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#802070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802070
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802070#FFFFFF#000000##FFFFFF
##8020701.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214172
Deuteranopia (green-blind)
#424F6E
Tritanopia (blue-blind)
#872745
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802070;
/* rgb */ color: rgb(128, 32, 112);
/* oklch */ color: oklch(42.9% 0.158 335.6);
Tailwind
colors: {
  custom: {
    50: '#a86699',
    500: '#802070',
    950: '#000000',
  },
}
SCSS
$custom: #802070;
$custom-light: #a86699;
$custom-dark: #000000;
JSON
{
  "hex": "#802070",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 310,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.15799,
    "h": 335.6
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#802070
secondary
#49B35B
accent
#E35F45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802070

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

Preview Lab → · Contrast checker → · Palette generator →

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