#802A56#802A56

#802A56 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.127 H 352.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#802A56
RGBrgb(128, 42, 86)
HSLhsl(329, 51%, 33%)
HSVhsv(329, 67%, 50%)
CMYKcmyk(0%, 67.2%, 32.8%, 49.8%)
CIE-LABlab(31.62, 41.40, -6.72)
CIE-LCHlch(31.62, 41.94, 350.78°)
OKLaboklab(42.73% 0.1262 -0.0173)
OKLCHoklch(42.73% 0.127 352.2)
XYZxyz(11.4103, 6.9182, 9.5367)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A56 #2A8054
analogous
#7F2A80 #802A56 #802A2B
triadic
#802A56 #56802A #2A5680
tetradic
#802A56 #807F2A #2A8054 #2A2B80
square
#802A56 #807F2A #2A8054 #2A2B80
split-complementary
#802A56 #2B802A #2A807F
monochromatic
#240C18 #521B37 #802A56 #AE3975 #C95B93

Accessibility & contrast

On white

8.81
#802A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#802A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A56
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A56#FFFFFF#000000##FFFFFF
##802A561.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374157
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#8A253C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a56;
/* rgb */ color: rgb(128, 42, 86);
/* oklch */ color: oklch(42.7% 0.127 352.2);
Tailwind
colors: {
  custom: {
    50: '#a86a85',
    500: '#802a56',
    950: '#000000',
  },
}
SCSS
$custom: #802a56;
$custom-light: #a86a85;
$custom-dark: #000000;
JSON
{
  "hex": "#802a56",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 329.302,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.12737,
    "h": 352.2
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#802A56
secondary
#57AF82
accent
#DA924E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802A56

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

Preview Lab → · Contrast checker → · Palette generator →

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