#802D51#802D51

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

Color values

HEX#802D51
RGBrgb(128, 45, 81)
HSLhsl(334, 48%, 34%)
HSVhsv(334, 65%, 50%)
CMYKcmyk(0%, 64.8%, 36.7%, 49.8%)
CIE-LABlab(31.95, 39.38, -2.98)
CIE-LCHlch(31.95, 39.50, 355.68°)
OKLaboklab(42.91% 0.1203 -0.0073)
OKLCHoklch(42.91% 0.12 356.5)
XYZxyz(11.3263, 7.0613, 8.5495)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D51 #2D805C
analogous
#802D7B #802D51 #80332D
triadic
#802D51 #51802D #2D5180
tetradic
#802D51 #7B802D #2D805C #332D80
square
#802D51 #7B802D #2D805C #332D80
split-complementary
#802D51 #2D8033 #2D7B80
monochromatic
#250D18 #531D34 #802D51 #AD3D6E #C7608D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802D51#FFFFFF#000000##FFFFFF
##802D511.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)
#3B4152
Deuteranopia (green-blind)
#51514F
Tritanopia (blue-blind)
#8A263B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802d51;
/* rgb */ color: rgb(128, 45, 81);
/* oklch */ color: oklch(42.9% 0.120 356.5);
Tailwind
colors: {
  custom: {
    50: '#a86b81',
    500: '#802d51',
    950: '#000000',
  },
}
SCSS
$custom: #802d51;
$custom-light: #a86b81;
$custom-dark: #000000;
JSON
{
  "hex": "#802d51",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 333.976,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.12048,
    "h": 356.5
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#802D51
secondary
#5BAE8A
accent
#D89D50
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802D51

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

Preview Lab → · Contrast checker → · Palette generator →

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