#802A52#802A52

#802A52 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.125 H 355.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#802A52
RGBrgb(128, 42, 82)
HSLhsl(332, 51%, 33%)
HSVhsv(332, 67%, 50%)
CMYKcmyk(0%, 67.2%, 35.9%, 49.8%)
CIE-LABlab(31.48, 40.88, -4.33)
CIE-LCHlch(31.48, 41.11, 353.96°)
OKLaboklab(42.57% 0.1249 -0.0109)
OKLCHoklch(42.57% 0.125 355)
XYZxyz(11.2537, 6.8556, 8.7116)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A52 #2A8058
analogous
#802A7D #802A52 #802D2A
triadic
#802A52 #52802A #2A5280
tetradic
#802A52 #7D802A #2A8058 #2D2A80
square
#802A52 #7D802A #2A8058 #2D2A80
split-complementary
#802A52 #2A802D #2A7D80
monochromatic
#240C17 #521B34 #802A52 #AE3970 #C95B8E

Accessibility & contrast

On white

8.86
#802A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A52
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A52#FFFFFF#000000##FFFFFF
##802A521.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#8A233A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a52;
/* rgb */ color: rgb(128, 42, 82);
/* oklch */ color: oklch(42.6% 0.125 355.0);
Tailwind
colors: {
  custom: {
    50: '#a86982',
    500: '#802a52',
    950: '#000000',
  },
}
SCSS
$custom: #802a52;
$custom-light: #a86982;
$custom-dark: #000000;
JSON
{
  "hex": "#802a52",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 332.093,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.12538,
    "h": 355
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#802A52
secondary
#57AF86
accent
#DA994E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802A52

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

Preview Lab → · Contrast checker → · Palette generator →

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