#802A4D#802A4D

#802A4D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.123 H 358.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#802A4D
RGBrgb(128, 42, 77)
HSLhsl(336, 51%, 33%)
HSVhsv(336, 67%, 50%)
CMYKcmyk(0%, 67.2%, 39.8%, 49.8%)
CIE-LABlab(31.31, 40.28, -1.31)
CIE-LCHlch(31.31, 40.30, 358.14°)
OKLaboklab(42.39% 0.1232 -0.0029)
OKLCHoklch(42.39% 0.123 358.6)
XYZxyz(11.0703, 6.7822, 7.7459)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A4D #2A805D
analogous
#802A78 #802A4D #80322A
triadic
#802A4D #4D802A #2A4D80
tetradic
#802A4D #78802A #2A805D #322A80
square
#802A4D #78802A #2A805D #322A80
split-complementary
#802A4D #2A8032 #2A7880
monochromatic
#240C16 #521B31 #802A4D #AE3969 #C95B88

Accessibility & contrast

On white

8.91
#802A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#802A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A4D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A4D#FFFFFF#000000##FFFFFF
##802A4D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4E
Deuteranopia (green-blind)
#51504B
Tritanopia (blue-blind)
#8A2138
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a4d;
/* rgb */ color: rgb(128, 42, 77);
/* oklch */ color: oklch(42.4% 0.123 358.6);
Tailwind
colors: {
  custom: {
    50: '#a9697e',
    500: '#802a4d',
    950: '#000000',
  },
}
SCSS
$custom: #802a4d;
$custom-light: #a9697e;
$custom-dark: #000000;
JSON
{
  "hex": "#802a4d",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 335.581,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.12321,
    "h": 358.6
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#802A4D
secondary
#57AF8B
accent
#DAA14E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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