#802A4C#802A4C

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

Color values

HEX#802A4C
RGBrgb(128, 42, 76)
HSLhsl(336, 51%, 33%)
HSVhsv(336, 67%, 50%)
CMYKcmyk(0%, 67.2%, 40.6%, 49.8%)
CIE-LABlab(31.27, 40.16, -0.70)
CIE-LCHlch(31.27, 40.16, 359.00°)
OKLaboklab(42.36% 0.1228 -0.0013)
OKLCHoklch(42.36% 0.123 359.4)
XYZxyz(11.0353, 6.7682, 7.5613)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A4C #2A805E
analogous
#802A77 #802A4C #80332A
triadic
#802A4C #4C802A #2A4C80
tetradic
#802A4C #77802A #2A805E #332A80
square
#802A4C #77802A #2A805E #332A80
split-complementary
#802A4C #2A8033 #2A7780
monochromatic
#240C15 #521B31 #802A4C #AE3967 #C95B87

Accessibility & contrast

On white

8.92
#802A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#802A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A4C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A4C#FFFFFF#000000##FFFFFF
##802A4C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4D
Deuteranopia (green-blind)
#51504A
Tritanopia (blue-blind)
#8B2138
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a4c;
/* rgb */ color: rgb(128, 42, 76);
/* oklch */ color: oklch(42.4% 0.123 359.4);
Tailwind
colors: {
  custom: {
    50: '#a9697d',
    500: '#802a4c',
    950: '#000000',
  },
}
SCSS
$custom: #802a4c;
$custom-light: #a9697d;
$custom-dark: #000000;
JSON
{
  "hex": "#802a4c",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 336.279,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.12283,
    "h": 359.4
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#802A4C
secondary
#57AF8C
accent
#DAA34E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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