#802A68#802A68

#802A68 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.139 H 340.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#802A68
RGBrgb(128, 42, 104)
HSLhsl(317, 51%, 33%)
HSVhsv(317, 67%, 50%)
CMYKcmyk(0%, 67.2%, 18.8%, 49.8%)
CIE-LABlab(32.36, 43.97, -17.20)
CIE-LCHlch(32.36, 47.22, 338.64°)
OKLaboklab(43.51% 0.1308 -0.0463)
OKLCHoklch(43.51% 0.139 340.5)
XYZxyz(12.2290, 7.2457, 13.8485)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A68 #2A8042
analogous
#6D2A80 #802A68 #802A3D
triadic
#802A68 #68802A #2A6880
tetradic
#802A68 #806D2A #2A8042 #2A3D80
square
#802A68 #806D2A #2A8042 #2A3D80
split-complementary
#802A68 #3D802A #2A806D
monochromatic
#240C1D #521B43 #802A68 #AE398D #C95BAB

Accessibility & contrast

On white

8.57
#802A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#802A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A68
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A68#FFFFFF#000000##FFFFFF
##802A681.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F436A
Deuteranopia (green-blind)
#4A5166
Tritanopia (blue-blind)
#882C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802a68;
/* rgb */ color: rgb(128, 42, 104);
/* oklch */ color: oklch(43.5% 0.139 340.5);
Tailwind
colors: {
  custom: {
    50: '#a86a93',
    500: '#802a68',
    950: '#000000',
  },
}
SCSS
$custom: #802a68;
$custom-light: #a86a93;
$custom-dark: #000000;
JSON
{
  "hex": "#802a68",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 316.744,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.13876,
    "h": 340.5
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#802A68
secondary
#57AF6F
accent
#DA754E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802A68

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

Preview Lab → · Contrast checker → · Palette generator →

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