#802D4C#802D4C

#802D4C is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.118 H 0.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#802D4C
RGBrgb(128, 45, 76)
HSLhsl(338, 48%, 34%)
HSVhsv(338, 65%, 50%)
CMYKcmyk(0%, 64.8%, 40.6%, 49.8%)
CIE-LABlab(31.78, 38.78, 0.04)
CIE-LCHlch(31.78, 38.78, 0.06°)
OKLaboklab(42.73% 0.1185 0.0006)
OKLCHoklch(42.73% 0.118 0.3)
XYZxyz(11.1457, 6.9890, 7.5981)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D4C #2D8061
analogous
#802D76 #802D4C #80382D
triadic
#802D4C #4C802D #2D4C80
tetradic
#802D4C #76802D #2D8061 #382D80
square
#802D4C #76802D #2D8061 #382D80
split-complementary
#802D4C #2D8038 #2D7680
monochromatic
#250D16 #531D31 #802D4C #AD3D67 #C76087

Accessibility & contrast

On white

8.76
#802D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D4C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D4C#FFFFFF#000000##FFFFFF
##802D4C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#52514A
Tritanopia (blue-blind)
#8A2539
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802d4c;
/* rgb */ color: rgb(128, 45, 76);
/* oklch */ color: oklch(42.7% 0.118 0.3);
Tailwind
colors: {
  custom: {
    50: '#a86b7d',
    500: '#802d4c',
    950: '#000000',
  },
}
SCSS
$custom: #802d4c;
$custom-light: #a86b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#802d4c",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 337.59,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.11847,
    "h": 0.3
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#802D4C
secondary
#5BAE8F
accent
#D8A550
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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