#802052#802052

#802052 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.139 H 353.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#802052
RGBrgb(128, 32, 82)
HSLhsl(329, 60%, 31%)
HSVhsv(329, 75%, 50%)
CMYKcmyk(0%, 75%, 35.9%, 49.8%)
CIE-LABlab(29.99, 44.99, -6.54)
CIE-LCHlch(29.99, 45.47, 351.73°)
OKLaboklab(41.48% 0.1378 -0.0168)
OKLCHoklch(41.48% 0.139 353.1)
XYZxyz(10.9422, 6.2327, 8.6078)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802052 #20804E
analogous
#7E2080 #802052 #802022
triadic
#802052 #528020 #205280
tetradic
#802052 #807E20 #20804E #202280
square
#802052 #807E20 #20804E #202280
split-complementary
#802052 #228020 #20807E
monochromatic
#1E0813 #4F1433 #802052 #B12C71 #D14990

Accessibility & contrast

On white

9.35
#802052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#802052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802052
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802052#FFFFFF#000000##FFFFFF
##8020521.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#8A1836
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802052;
/* rgb */ color: rgb(128, 32, 82);
/* oklch */ color: oklch(41.5% 0.139 353.1);
Tailwind
colors: {
  custom: {
    50: '#a96582',
    500: '#802052',
    950: '#000000',
  },
}
SCSS
$custom: #802052;
$custom-light: #a96582;
$custom-dark: #000000;
JSON
{
  "hex": "#802052",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 328.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.13885,
    "h": 353.1
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#802052
secondary
#49B37C
accent
#E39145
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802052

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

Preview Lab → · Contrast checker → · Palette generator →

#802052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva