#802A5A#802A5A

#802A5A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.130 H 349.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#802A5A
RGBrgb(128, 42, 90)
HSLhsl(327, 51%, 33%)
HSVhsv(327, 67%, 50%)
CMYKcmyk(0%, 67.2%, 29.7%, 49.8%)
CIE-LABlab(31.77, 41.93, -9.09)
CIE-LCHlch(31.77, 42.90, 347.77°)
OKLaboklab(42.89% 0.1274 -0.0237)
OKLCHoklch(42.89% 0.13 349.4)
XYZxyz(11.5760, 6.9845, 10.4094)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A5A #2A8050
analogous
#7B2A80 #802A5A #802A2F
triadic
#802A5A #5A802A #2A5A80
tetradic
#802A5A #807B2A #2A8050 #2A2F80
square
#802A5A #807B2A #2A8050 #2A2F80
split-complementary
#802A5A #2F802A #2A807B
monochromatic
#240C19 #521B3A #802A5A #AE397A #C95B99

Accessibility & contrast

On white

8.76
#802A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A5A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A5A#FFFFFF#000000##FFFFFF
##802A5A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36415B
Deuteranopia (green-blind)
#4E5058
Tritanopia (blue-blind)
#89263E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802a5a;
/* rgb */ color: rgb(128, 42, 90);
/* oklch */ color: oklch(42.9% 0.130 349.4);
Tailwind
colors: {
  custom: {
    50: '#a86a88',
    500: '#802a5a',
    950: '#000000',
  },
}
SCSS
$custom: #802a5a;
$custom-light: #a86a88;
$custom-dark: #000000;
JSON
{
  "hex": "#802a5a",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 326.512,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.12958,
    "h": 349.4
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#802A5A
secondary
#57AF7E
accent
#DA8C4E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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