#802B4A#802B4A

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

Color values

HEX#802B4A
RGBrgb(128, 43, 74)
HSLhsl(338, 50%, 34%)
HSVhsv(338, 66%, 50%)
CMYKcmyk(0%, 66.4%, 42.2%, 49.8%)
CIE-LABlab(31.38, 39.47, 0.76)
CIE-LCHlch(31.38, 39.48, 1.10°)
OKLaboklab(42.41% 0.1207 0.0024)
OKLCHoklch(42.41% 0.121 1.2)
XYZxyz(11.0027, 6.8126, 7.2128)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B4A #2B8061
analogous
#802B74 #802B4A #80362B
triadic
#802B4A #4A802B #2B4A80
tetradic
#802B4A #74802B #2B8061 #362B80
square
#802B4A #74802B #2B8061 #362B80
split-complementary
#802B4A #2B8036 #2B7480
monochromatic
#240C15 #521C30 #802B4A #AE3A64 #C95D84

Accessibility & contrast

On white

8.89
#802B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802B4A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B4A#FFFFFF#000000##FFFFFF
##802B4A1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#8B2237
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802b4a;
/* rgb */ color: rgb(128, 43, 74);
/* oklch */ color: oklch(42.4% 0.121 1.2);
Tailwind
colors: {
  custom: {
    50: '#a96a7c',
    500: '#802b4a',
    950: '#000000',
  },
}
SCSS
$custom: #802b4a;
$custom-light: #a96a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#802b4a",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 338.118,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.12067,
    "h": 1.2
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#802B4A
secondary
#58AE8F
accent
#D9A74F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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