#802D52#802D52

#802D52 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 42.9% C 0.121 H 355.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#802D52
RGBrgb(128, 45, 82)
HSLhsl(333, 48%, 34%)
HSVhsv(333, 65%, 50%)
CMYKcmyk(0%, 64.8%, 35.9%, 49.8%)
CIE-LABlab(31.98, 39.51, -3.58)
CIE-LCHlch(31.98, 39.67, 354.83°)
OKLaboklab(42.95% 0.1206 -0.0089)
OKLCHoklch(42.95% 0.121 355.8)
XYZxyz(11.3641, 7.0764, 8.7484)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D52 #2D805B
analogous
#802D7C #802D52 #80322D
triadic
#802D52 #52802D #2D5280
tetradic
#802D52 #7C802D #2D805B #322D80
square
#802D52 #7C802D #2D805B #322D80
split-complementary
#802D52 #2D8032 #2D7C80
monochromatic
#250D18 #531D35 #802D52 #AD3D6F #C7608E

Accessibility & contrast

On white

8.70
#802D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#802D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D52
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D52#FFFFFF#000000##FFFFFF
##802D521.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#8A273C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802d52;
/* rgb */ color: rgb(128, 45, 82);
/* oklch */ color: oklch(42.9% 0.121 355.8);
Tailwind
colors: {
  custom: {
    50: '#a86b82',
    500: '#802d52',
    950: '#000000',
  },
}
SCSS
$custom: #802d52;
$custom-light: #a86b82;
$custom-dark: #000000;
JSON
{
  "hex": "#802d52",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 333.253,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.12094,
    "h": 355.8
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#802D52
secondary
#5BAE89
accent
#D89B50
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802D52

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

Preview Lab → · Contrast checker → · Palette generator →

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