#802A5F#802A5F

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

Color values

HEX#802A5F
RGBrgb(128, 42, 95)
HSLhsl(323, 51%, 33%)
HSVhsv(323, 67%, 50%)
CMYKcmyk(0%, 67.2%, 25.8%, 49.8%)
CIE-LABlab(31.97, 42.63, -12.02)
CIE-LCHlch(31.97, 44.29, 344.26°)
OKLaboklab(43.1% 0.1288 -0.0318)
OKLCHoklch(43.1% 0.133 346.1)
XYZxyz(11.7961, 7.0725, 11.5682)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A5F #2A804B
analogous
#762A80 #802A5F #802A34
triadic
#802A5F #5F802A #2A5F80
tetradic
#802A5F #80762A #2A804B #2A3480
square
#802A5F #80762A #2A804B #2A3480
split-complementary
#802A5F #34802A #2A8076
monochromatic
#240C1B #521B3D #802A5F #AE3981 #C95B9F

Accessibility & contrast

On white

8.70
#802A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A5F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A5F#FFFFFF#000000##FFFFFF
##802A5F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802a5f;
/* rgb */ color: rgb(128, 42, 95);
/* oklch */ color: oklch(43.1% 0.133 346.1);
Tailwind
colors: {
  custom: {
    50: '#a86a8c',
    500: '#802a5f',
    950: '#000000',
  },
}
SCSS
$custom: #802a5f;
$custom-light: #a86a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#802a5f",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 323.023,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.431,
    "c": 0.13262,
    "h": 346.1
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#802A5F
secondary
#57AF79
accent
#DA844E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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