#802B71#802B71

#802B71 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.144 H 335.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#802B71
RGBrgb(128, 43, 113)
HSLhsl(311, 50%, 34%)
HSVhsv(311, 66%, 50%)
CMYKcmyk(0%, 66.4%, 11.7%, 49.8%)
CIE-LABlab(32.94, 44.98, -22.03)
CIE-LCHlch(32.94, 50.08, 333.91°)
OKLaboklab(44.08% 0.1311 -0.0599)
OKLCHoklch(44.08% 0.144 335.4)
XYZxyz(12.7467, 7.5102, 16.3979)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B71 #2B803A
analogous
#642B80 #802B71 #802B46
triadic
#802B71 #71802B #2B7180
tetradic
#802B71 #80642B #2B803A #2B4680
square
#802B71 #80642B #2B803A #2B4680
split-complementary
#802B71 #46802B #2B8064
monochromatic
#240C20 #521C49 #802B71 #AE3A99 #C95DB6

Accessibility & contrast

On white

8.39
#802B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#802B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B71
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B71#FFFFFF#000000##FFFFFF
##802B711.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#86304A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802b71;
/* rgb */ color: rgb(128, 43, 113);
/* oklch */ color: oklch(44.1% 0.144 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86b9a',
    500: '#802b71',
    950: '#000000',
  },
}
SCSS
$custom: #802b71;
$custom-light: #a86b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802b71",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 310.588,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.14415,
    "h": 335.4
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#802B71
secondary
#58AE68
accent
#D9674F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802B71

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

Preview Lab → · Contrast checker → · Palette generator →

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