#802E56#802E56

#802E56 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.121 H 353.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#802E56
RGBrgb(128, 46, 86)
HSLhsl(331, 47%, 34%)
HSVhsv(331, 64%, 50%)
CMYKcmyk(0%, 64.1%, 32.8%, 49.8%)
CIE-LABlab(32.29, 39.56, -5.71)
CIE-LCHlch(32.29, 39.97, 351.79°)
OKLaboklab(43.23% 0.1205 -0.0146)
OKLCHoklch(43.23% 0.121 353.1)
XYZxyz(11.5594, 7.2163, 9.5864)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E56 #2E8058
analogous
#802E7F #802E56 #802F2E
triadic
#802E56 #56802E #2E5680
tetradic
#802E56 #7F802E #2E8058 #2F2E80
square
#802E56 #7F802E #2E8058 #2F2E80
split-complementary
#802E56 #2E802F #2E7F80
monochromatic
#260E1A #531E38 #802E56 #AD3E74 #C76293

Accessibility & contrast

On white

8.60
#802E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#802E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E56
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E56#FFFFFF#000000##FFFFFF
##802E561.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4357
Deuteranopia (green-blind)
#515154
Tritanopia (blue-blind)
#8A293E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802e56;
/* rgb */ color: rgb(128, 46, 86);
/* oklch */ color: oklch(43.2% 0.121 353.1);
Tailwind
colors: {
  custom: {
    50: '#a86c85',
    500: '#802e56',
    950: '#000000',
  },
}
SCSS
$custom: #802e56;
$custom-light: #a86c85;
$custom-dark: #000000;
JSON
{
  "hex": "#802e56",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 330.732,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.12135,
    "h": 353.1
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#802E56
secondary
#5DAD86
accent
#D79651
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802E56

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

Preview Lab → · Contrast checker → · Palette generator →

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