#802A57#802A57

#802A57 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.128 H 351.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#802A57
RGBrgb(128, 42, 87)
HSLhsl(329, 51%, 33%)
HSVhsv(329, 67%, 50%)
CMYKcmyk(0%, 67.2%, 32%, 49.8%)
CIE-LABlab(31.66, 41.53, -7.31)
CIE-LCHlch(31.66, 42.17, 350.02°)
OKLaboklab(42.77% 0.1265 -0.0189)
OKLCHoklch(42.77% 0.128 351.5)
XYZxyz(11.4509, 6.9345, 9.7504)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A57 #2A8053
analogous
#7E2A80 #802A57 #802A2C
triadic
#802A57 #57802A #2A5780
tetradic
#802A57 #807E2A #2A8053 #2A2C80
square
#802A57 #807E2A #2A8053 #2A2C80
split-complementary
#802A57 #2C802A #2A807E
monochromatic
#240C18 #521B38 #802A57 #AE3976 #C95B95

Accessibility & contrast

On white

8.80
#802A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A57
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A57#FFFFFF#000000##FFFFFF
##802A571.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#4F5055
Tritanopia (blue-blind)
#8A253D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802a57;
/* rgb */ color: rgb(128, 42, 87);
/* oklch */ color: oklch(42.8% 0.128 351.5);
Tailwind
colors: {
  custom: {
    50: '#a86a86',
    500: '#802a57',
    950: '#000000',
  },
}
SCSS
$custom: #802a57;
$custom-light: #a86a86;
$custom-dark: #000000;
JSON
{
  "hex": "#802a57",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 328.605,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.12791,
    "h": 351.5
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#802A57
secondary
#57AF81
accent
#DA914E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802A57

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

Preview Lab → · Contrast checker → · Palette generator →

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