#802A50#802A50

#802A50 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.124 H 356.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#802A50
RGBrgb(128, 42, 80)
HSLhsl(333, 51%, 33%)
HSVhsv(333, 67%, 50%)
CMYKcmyk(0%, 67.2%, 37.5%, 49.8%)
CIE-LABlab(31.41, 40.64, -3.12)
CIE-LCHlch(31.41, 40.76, 355.61°)
OKLaboklab(42.5% 0.1242 -0.0077)
OKLCHoklch(42.5% 0.124 356.5)
XYZxyz(11.1787, 6.8256, 8.3166)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A50 #2A805A
analogous
#802A7B #802A50 #802F2A
triadic
#802A50 #50802A #2A5080
tetradic
#802A50 #7B802A #2A805A #2F2A80
square
#802A50 #7B802A #2A805A #2F2A80
split-complementary
#802A50 #2A802F #2A7B80
monochromatic
#240C16 #521B33 #802A50 #AE396D #C95B8C

Accessibility & contrast

On white

8.88
#802A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#802A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A50
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A50#FFFFFF#000000##FFFFFF
##802A501.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394051
Deuteranopia (green-blind)
#50504E
Tritanopia (blue-blind)
#8A2339
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a50;
/* rgb */ color: rgb(128, 42, 80);
/* oklch */ color: oklch(42.5% 0.124 356.5);
Tailwind
colors: {
  custom: {
    50: '#a86981',
    500: '#802a50',
    950: '#000000',
  },
}
SCSS
$custom: #802a50;
$custom-light: #a86981;
$custom-dark: #000000;
JSON
{
  "hex": "#802a50",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 333.488,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.12447,
    "h": 356.5
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#802A50
secondary
#57AF88
accent
#DA9C4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802A50

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

Preview Lab → · Contrast checker → · Palette generator →

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