#802A5E#802A5E

#802A5E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.132 H 346.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#802A5E
RGBrgb(128, 42, 94)
HSLhsl(324, 51%, 33%)
HSVhsv(324, 67%, 50%)
CMYKcmyk(0%, 67.2%, 26.6%, 49.8%)
CIE-LABlab(31.93, 42.49, -11.43)
CIE-LCHlch(31.93, 44.00, 344.94°)
OKLaboklab(43.06% 0.1285 -0.0302)
OKLCHoklch(43.06% 0.132 346.8)
XYZxyz(11.7509, 7.0545, 11.3303)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A5E #2A804C
analogous
#772A80 #802A5E #802A33
triadic
#802A5E #5E802A #2A5E80
tetradic
#802A5E #80772A #2A804C #2A3380
square
#802A5E #80772A #2A804C #2A3380
split-complementary
#802A5E #33802A #2A8077
monochromatic
#240C1A #521B3C #802A5E #AE3980 #C95B9E

Accessibility & contrast

On white

8.71
#802A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#802A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A5E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A5E#FFFFFF#000000##FFFFFF
##802A5E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#4D515C
Tritanopia (blue-blind)
#892840
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802a5e;
/* rgb */ color: rgb(128, 42, 94);
/* oklch */ color: oklch(43.1% 0.132 346.8);
Tailwind
colors: {
  custom: {
    50: '#a86a8b',
    500: '#802a5e',
    950: '#000000',
  },
}
SCSS
$custom: #802a5e;
$custom-light: #a86a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#802a5e",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 323.721,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.13199,
    "h": 346.8
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#802A5E
secondary
#57AF7A
accent
#DA854E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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