#802A71#802A71

#802A71 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.146 H 335.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#802A71
RGBrgb(128, 42, 113)
HSLhsl(310, 51%, 33%)
HSVhsv(310, 67%, 50%)
CMYKcmyk(0%, 67.2%, 11.7%, 49.8%)
CIE-LABlab(32.78, 45.41, -22.27)
CIE-LCHlch(32.78, 50.58, 333.88°)
OKLaboklab(43.96% 0.1324 -0.0606)
OKLCHoklch(43.96% 0.146 335.4)
XYZxyz(12.7108, 7.4384, 16.3859)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A71 #2A8039
analogous
#642A80 #802A71 #802A46
triadic
#802A71 #71802A #2A7180
tetradic
#802A71 #80642A #2A8039 #2A4680
square
#802A71 #80642A #2A8039 #2A4680
split-complementary
#802A71 #46802A #2A8064
monochromatic
#240C20 #521B48 #802A71 #AE399A #C95BB6

Accessibility & contrast

On white

8.44
#802A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A71
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A71#FFFFFF#000000##FFFFFF
##802A711.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#863049
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802a71;
/* rgb */ color: rgb(128, 42, 113);
/* oklch */ color: oklch(44.0% 0.146 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86a9a',
    500: '#802a71',
    950: '#000000',
  },
}
SCSS
$custom: #802a71;
$custom-light: #a86a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802a71",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 310.465,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.14559,
    "h": 335.4
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#802A71
secondary
#57AF66
accent
#DA664E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802A71

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

Preview Lab → · Contrast checker → · Palette generator →

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