#802E70#802E70

#802E70 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.139 H 336.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#802E70
RGBrgb(128, 46, 112)
HSLhsl(312, 47%, 34%)
HSVhsv(312, 64%, 50%)
CMYKcmyk(0%, 64.1%, 12.5%, 49.8%)
CIE-LABlab(33.38, 43.47, -20.71)
CIE-LCHlch(33.38, 48.15, 334.52°)
OKLaboklab(44.38% 0.127 -0.0562)
OKLCHoklch(44.38% 0.139 336.1)
XYZxyz(12.8039, 7.7141, 16.1407)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E70 #2E803E
analogous
#672E80 #802E70 #802E47
triadic
#802E70 #70802E #2E7080
tetradic
#802E70 #80672E #2E803E #2E4780
square
#802E70 #80672E #2E803E #2E4780
split-complementary
#802E70 #47802E #2E8067
monochromatic
#260E21 #531E49 #802E70 #AD3E97 #C762B3

Accessibility & contrast

On white

8.26
#802E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E70
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E70#FFFFFF#000000##FFFFFF
##802E701.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4772
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#86324A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802e70;
/* rgb */ color: rgb(128, 46, 112);
/* oklch */ color: oklch(44.4% 0.139 336.1);
Tailwind
colors: {
  custom: {
    50: '#a76c99',
    500: '#802e70',
    950: '#000000',
  },
}
SCSS
$custom: #802e70;
$custom-light: #a76c99;
$custom-dark: #000000;
JSON
{
  "hex": "#802e70",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 311.707,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4438,
    "c": 0.13885,
    "h": 336.1
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#802E70
secondary
#5DAD6C
accent
#D76B51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E70

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

Preview Lab → · Contrast checker → · Palette generator →

#802E70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva