#802A51#802A51

#802A51 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.125 H 355.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#802A51
RGBrgb(128, 42, 81)
HSLhsl(333, 51%, 33%)
HSVhsv(333, 67%, 50%)
CMYKcmyk(0%, 67.2%, 36.7%, 49.8%)
CIE-LABlab(31.44, 40.76, -3.72)
CIE-LCHlch(31.44, 40.93, 354.78°)
OKLaboklab(42.54% 0.1246 -0.0093)
OKLCHoklch(42.54% 0.125 355.7)
XYZxyz(11.2159, 6.8405, 8.5127)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A51 #2A8059
analogous
#802A7C #802A51 #802E2A
triadic
#802A51 #51802A #2A5180
tetradic
#802A51 #7C802A #2A8059 #2E2A80
square
#802A51 #7C802A #2A8059 #2E2A80
split-complementary
#802A51 #2A802E #2A7C80
monochromatic
#240C17 #521B34 #802A51 #AE396E #C95B8D

Accessibility & contrast

On white

8.87
#802A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A51
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A51#FFFFFF#000000##FFFFFF
##802A511.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394052
Deuteranopia (green-blind)
#50504F
Tritanopia (blue-blind)
#8A233A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a51;
/* rgb */ color: rgb(128, 42, 81);
/* oklch */ color: oklch(42.5% 0.125 355.7);
Tailwind
colors: {
  custom: {
    50: '#a86981',
    500: '#802a51',
    950: '#000000',
  },
}
SCSS
$custom: #802a51;
$custom-light: #a86981;
$custom-dark: #000000;
JSON
{
  "hex": "#802a51",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 332.791,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.12492,
    "h": 355.7
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#802A51
secondary
#57AF87
accent
#DA9A4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802A51

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

Preview Lab → · Contrast checker → · Palette generator →

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