#802C4E#802C4E

#802C4E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.121 H 358.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#802C4E
RGBrgb(128, 44, 78)
HSLhsl(336, 49%, 34%)
HSVhsv(336, 66%, 50%)
CMYKcmyk(0%, 65.6%, 39.1%, 49.8%)
CIE-LABlab(31.67, 39.48, -1.42)
CIE-LCHlch(31.67, 39.51, 357.94°)
OKLaboklab(42.68% 0.1207 -0.0032)
OKLCHoklch(42.68% 0.121 358.5)
XYZxyz(11.1786, 6.9419, 7.9575)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C4E #2C805E
analogous
#802C78 #802C4E #80342C
triadic
#802C4E #4E802C #2C4E80
tetradic
#802C4E #78802C #2C805E #342C80
square
#802C4E #78802C #2C805E #342C80
split-complementary
#802C4E #2C8034 #2C7880
monochromatic
#250D16 #521C32 #802C4E #AE3C6A #C85F89

Accessibility & contrast

On white

8.79
#802C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C4E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C4E#FFFFFF#000000##FFFFFF
##802C4E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#52504C
Tritanopia (blue-blind)
#8A2439
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802c4e;
/* rgb */ color: rgb(128, 44, 78);
/* oklch */ color: oklch(42.7% 0.121 358.5);
Tailwind
colors: {
  custom: {
    50: '#a86a7f',
    500: '#802c4e',
    950: '#000000',
  },
}
SCSS
$custom: #802c4e;
$custom-light: #a86a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#802c4e",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 335.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.1207,
    "h": 358.5
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#802C4E
secondary
#5AAE8C
accent
#D8A14F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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