#802D42#802D42

#802D42 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.116 H 8.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#802D42
RGBrgb(128, 45, 66)
HSLhsl(345, 48%, 34%)
HSVhsv(345, 65%, 50%)
CMYKcmyk(0%, 64.8%, 48.4%, 49.8%)
CIE-LABlab(31.49, 37.67, 6.16)
CIE-LCHlch(31.49, 38.17, 9.29°)
OKLaboklab(42.42% 0.1146 0.0161)
OKLCHoklch(42.42% 0.116 8)
XYZxyz(10.8247, 6.8606, 5.9074)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D42 #2D806B
analogous
#802D6C #802D42 #80422D
triadic
#802D42 #42802D #2D4280
tetradic
#802D42 #6C802D #2D806B #422D80
square
#802D42 #6C802D #2D806B #422D80
split-complementary
#802D42 #2D8042 #2D6C80
monochromatic
#250D13 #531D2B #802D42 #AD3D59 #C7607A

Accessibility & contrast

On white

8.85
#802D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D42
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D42#FFFFFF#000000##FFFFFF
##802D421.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#8B2135
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802d42;
/* rgb */ color: rgb(128, 45, 66);
/* oklch */ color: oklch(42.4% 0.116 8.0);
Tailwind
colors: {
  custom: {
    50: '#a96b76',
    500: '#802d42',
    950: '#000000',
  },
}
SCSS
$custom: #802d42;
$custom-light: #a96b76;
$custom-dark: #000000;
JSON
{
  "hex": "#802d42",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 344.819,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.11569,
    "h": 8
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#802D42
secondary
#5BAE99
accent
#D8B550
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802D42

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

Preview Lab → · Contrast checker → · Palette generator →

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