#802D4E#802D4E

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

Color values

HEX#802D4E
RGBrgb(128, 45, 78)
HSLhsl(336, 48%, 34%)
HSVhsv(336, 65%, 50%)
CMYKcmyk(0%, 64.8%, 39.1%, 49.8%)
CIE-LABlab(31.85, 39.02, -1.17)
CIE-LCHlch(31.85, 39.03, 358.28°)
OKLaboklab(42.8% 0.1192 -0.0026)
OKLCHoklch(42.8% 0.119 358.8)
XYZxyz(11.2163, 7.0173, 7.9700)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D4E #2D805F
analogous
#802D78 #802D4E #80362D
triadic
#802D4E #4E802D #2D4E80
tetradic
#802D4E #78802D #2D805F #362D80
square
#802D4E #78802D #2D805F #362D80
split-complementary
#802D4E #2D8036 #2D7880
monochromatic
#250D17 #531D32 #802D4E #AD3D6A #C76089

Accessibility & contrast

On white

8.74
#802D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802D4E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D4E#FFFFFF#000000##FFFFFF
##802D4E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#8A253A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802d4e;
/* rgb */ color: rgb(128, 45, 78);
/* oklch */ color: oklch(42.8% 0.119 358.8);
Tailwind
colors: {
  custom: {
    50: '#a86b7f',
    500: '#802d4e',
    950: '#000000',
  },
}
SCSS
$custom: #802d4e;
$custom-light: #a86b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#802d4e",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 336.145,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.11923,
    "h": 358.8
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#802D4E
secondary
#5BAE8D
accent
#D8A250
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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