#802F72#802F72

#802F72 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.139 H 335.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#802F72
RGBrgb(128, 47, 114)
HSLhsl(310, 46%, 34%)
HSVhsv(310, 63%, 50%)
CMYKcmyk(0%, 63.3%, 10.9%, 49.8%)
CIE-LABlab(33.64, 43.34, -21.57)
CIE-LCHlch(33.64, 48.41, 333.55°)
OKLaboklab(44.6% 0.1259 -0.0587)
OKLCHoklch(44.6% 0.139 335)
XYZxyz(12.9560, 7.8381, 16.7469)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F72 #2F803D
analogous
#662F80 #802F72 #802F4A
triadic
#802F72 #72802F #2F7280
tetradic
#802F72 #80662F #2F803D #2F4A80
square
#802F72 #80662F #2F803D #2F4A80
split-complementary
#802F72 #4A802F #2F8066
monochromatic
#260E22 #531F4A #802F72 #AD3F9A #C663B5

Accessibility & contrast

On white

8.18
#802F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F72
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F72#FFFFFF#000000##FFFFFF
##802F721.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#86344C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802f72;
/* rgb */ color: rgb(128, 47, 114);
/* oklch */ color: oklch(44.6% 0.139 335.0);
Tailwind
colors: {
  custom: {
    50: '#a76d9a',
    500: '#802f72',
    950: '#000000',
  },
}
SCSS
$custom: #802f72;
$custom-light: #a76d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802f72",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 310.37,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44604,
    "c": 0.13894,
    "h": 335
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#802F72
secondary
#5EAD6C
accent
#D66952
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F72

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

Preview Lab → · Contrast checker → · Palette generator →

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