#802D4F#802D4F

#802D4F is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.120 H 358.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#802D4F
RGBrgb(128, 45, 79)
HSLhsl(335, 48%, 34%)
HSVhsv(335, 65%, 50%)
CMYKcmyk(0%, 64.8%, 38.3%, 49.8%)
CIE-LABlab(31.88, 39.14, -1.77)
CIE-LCHlch(31.88, 39.18, 357.41°)
OKLaboklab(42.84% 0.1196 -0.0042)
OKLCHoklch(42.84% 0.12 358)
XYZxyz(11.2524, 7.0317, 8.1603)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D4F #2D805E
analogous
#802D79 #802D4F #80352D
triadic
#802D4F #4F802D #2D4F80
tetradic
#802D4F #79802D #2D805E #352D80
square
#802D4F #79802D #2D805E #352D80
split-complementary
#802D4F #2D8035 #2D7980
monochromatic
#250D17 #531D33 #802D4F #AD3D6B #C7608A

Accessibility & contrast

On white

8.73
#802D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#802D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D4F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D4F#FFFFFF#000000##FFFFFF
##802D4F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4150
Deuteranopia (green-blind)
#52514D
Tritanopia (blue-blind)
#8A263A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802d4f;
/* rgb */ color: rgb(128, 45, 79);
/* oklch */ color: oklch(42.8% 0.120 358.0);
Tailwind
colors: {
  custom: {
    50: '#a86b80',
    500: '#802d4f',
    950: '#000000',
  },
}
SCSS
$custom: #802d4f;
$custom-light: #a86b80;
$custom-dark: #000000;
JSON
{
  "hex": "#802d4f",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 335.422,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.11963,
    "h": 358
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#802D4F
secondary
#5BAE8C
accent
#D8A050
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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