#802B52#802B52

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

Color values

HEX#802B52
RGBrgb(128, 43, 82)
HSLhsl(332, 50%, 34%)
HSVhsv(332, 66%, 50%)
CMYKcmyk(0%, 66.4%, 35.9%, 49.8%)
CIE-LABlab(31.64, 40.43, -4.08)
CIE-LCHlch(31.64, 40.64, 354.24°)
OKLaboklab(42.69% 0.1235 -0.0102)
OKLCHoklch(42.69% 0.124 355.3)
XYZxyz(11.2896, 6.9274, 8.7236)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B52 #2B8059
analogous
#802B7C #802B52 #802E2B
triadic
#802B52 #52802B #2B5280
tetradic
#802B52 #7C802B #2B8059 #2E2B80
square
#802B52 #7C802B #2B8059 #2E2B80
split-complementary
#802B52 #2B802E #2B7C80
monochromatic
#240C17 #521C35 #802B52 #AE3A6F #C95D8E

Accessibility & contrast

On white

8.80
#802B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B52
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B52#FFFFFF#000000##FFFFFF
##802B521.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802b52;
/* rgb */ color: rgb(128, 43, 82);
/* oklch */ color: oklch(42.7% 0.124 355.3);
Tailwind
colors: {
  custom: {
    50: '#a86a82',
    500: '#802b52',
    950: '#000000',
  },
}
SCSS
$custom: #802b52;
$custom-light: #a86a82;
$custom-dark: #000000;
JSON
{
  "hex": "#802b52",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 332.471,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.12391,
    "h": 355.3
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#802B52
secondary
#58AE87
accent
#D99A4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802B52

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

Preview Lab → · Contrast checker → · Palette generator →

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