#802A4E#802A4E

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

Color values

HEX#802A4E
RGBrgb(128, 42, 78)
HSLhsl(335, 51%, 33%)
HSVhsv(335, 67%, 50%)
CMYKcmyk(0%, 67.2%, 39.1%, 49.8%)
CIE-LABlab(31.34, 40.39, -1.91)
CIE-LCHlch(31.34, 40.44, 357.29°)
OKLaboklab(42.43% 0.1235 -0.0045)
OKLCHoklch(42.43% 0.124 357.9)
XYZxyz(11.1059, 6.7965, 7.9332)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A4E #2A805C
analogous
#802A79 #802A4E #80312A
triadic
#802A4E #4E802A #2A4E80
tetradic
#802A4E #79802A #2A805C #312A80
square
#802A4E #79802A #2A805C #312A80
split-complementary
#802A4E #2A8031 #2A7980
monochromatic
#240C16 #521B32 #802A4E #AE396A #C95B89

Accessibility & contrast

On white

8.90
#802A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#802A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A4E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A4E#FFFFFF#000000##FFFFFF
##802A4E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#8A2238
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a4e;
/* rgb */ color: rgb(128, 42, 78);
/* oklch */ color: oklch(42.4% 0.124 357.9);
Tailwind
colors: {
  custom: {
    50: '#a9697f',
    500: '#802a4e',
    950: '#000000',
  },
}
SCSS
$custom: #802a4e;
$custom-light: #a9697f;
$custom-dark: #000000;
JSON
{
  "hex": "#802a4e",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 334.884,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.12362,
    "h": 357.9
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#802A4E
secondary
#57AF8A
accent
#DA9F4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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