#802A5D#802A5D

#802A5D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.131 H 347.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#802A5D
RGBrgb(128, 42, 93)
HSLhsl(324, 51%, 33%)
HSVhsv(324, 67%, 50%)
CMYKcmyk(0%, 67.2%, 27.3%, 49.8%)
CIE-LABlab(31.89, 42.35, -10.85)
CIE-LCHlch(31.89, 43.71, 345.63°)
OKLaboklab(43.01% 0.1282 -0.0286)
OKLCHoklch(43.01% 0.131 347.4)
XYZxyz(11.7063, 7.0366, 11.0955)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A5D #2A804D
analogous
#782A80 #802A5D #802A32
triadic
#802A5D #5D802A #2A5D80
tetradic
#802A5D #80782A #2A804D #2A3280
square
#802A5D #80782A #2A804D #2A3280
split-complementary
#802A5D #32802A #2A8078
monochromatic
#240C1A #521B3C #802A5D #AE397E #C95B9C

Accessibility & contrast

On white

8.72
#802A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A5D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A5D#FFFFFF#000000##FFFFFF
##802A5D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34425F
Deuteranopia (green-blind)
#4D505B
Tritanopia (blue-blind)
#89283F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802a5d;
/* rgb */ color: rgb(128, 42, 93);
/* oklch */ color: oklch(43.0% 0.131 347.4);
Tailwind
colors: {
  custom: {
    50: '#a86a8b',
    500: '#802a5d',
    950: '#000000',
  },
}
SCSS
$custom: #802a5d;
$custom-light: #a86a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#802a5d",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 324.419,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.13136,
    "h": 347.4
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#802A5D
secondary
#57AF7B
accent
#DA874E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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