#802A6E#802A6E

#802A6E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.143 H 337.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#802A6E
RGBrgb(128, 42, 110)
HSLhsl(313, 51%, 33%)
HSVhsv(313, 67%, 50%)
CMYKcmyk(0%, 67.2%, 14.1%, 49.8%)
CIE-LABlab(32.64, 44.92, -20.59)
CIE-LCHlch(32.64, 49.42, 335.37°)
OKLaboklab(43.81% 0.1319 -0.0559)
OKLCHoklch(43.81% 0.143 337)
XYZxyz(12.5447, 7.3720, 15.5111)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A6E #2A803C
analogous
#672A80 #802A6E #802A43
triadic
#802A6E #6E802A #2A6E80
tetradic
#802A6E #80672A #2A803C #2A4380
square
#802A6E #80672A #2A803C #2A4380
split-complementary
#802A6E #43802A #2A8067
monochromatic
#240C1F #521B46 #802A6E #AE3996 #C95BB2

Accessibility & contrast

On white

8.49
#802A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A6E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A6E#FFFFFF#000000##FFFFFF
##802A6E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#47526C
Tritanopia (blue-blind)
#872E48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802a6e;
/* rgb */ color: rgb(128, 42, 110);
/* oklch */ color: oklch(43.8% 0.143 337.0);
Tailwind
colors: {
  custom: {
    50: '#a86a98',
    500: '#802a6e',
    950: '#000000',
  },
}
SCSS
$custom: #802a6e;
$custom-light: #a86a98;
$custom-dark: #000000;
JSON
{
  "hex": "#802a6e",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 312.558,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43808,
    "c": 0.14325,
    "h": 337
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#802A6E
secondary
#57AF69
accent
#DA6B4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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