#802D4B#802D4B

#802D4B is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.118 H 1.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#802D4B
RGBrgb(128, 45, 75)
HSLhsl(338, 48%, 34%)
HSVhsv(338, 65%, 50%)
CMYKcmyk(0%, 64.8%, 41.4%, 49.8%)
CIE-LABlab(31.75, 38.66, 0.65)
CIE-LCHlch(31.75, 38.67, 0.96°)
OKLaboklab(42.7% 0.1181 0.0022)
OKLCHoklch(42.7% 0.118 1)
XYZxyz(11.1112, 6.9752, 7.4165)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D4B #2D8062
analogous
#802D75 #802D4B #80392D
triadic
#802D4B #4B802D #2D4B80
tetradic
#802D4B #75802D #2D8062 #392D80
square
#802D4B #75802D #2D8062 #392D80
split-complementary
#802D4B #2D8039 #2D7580
monochromatic
#250D16 #531D30 #802D4B #AD3D66 #C76085

Accessibility & contrast

On white

8.77
#802D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802D4B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D4B#FFFFFF#000000##FFFFFF
##802D4B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#8B2439
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802d4b;
/* rgb */ color: rgb(128, 45, 75);
/* oklch */ color: oklch(42.7% 0.118 1.0);
Tailwind
colors: {
  custom: {
    50: '#a86b7d',
    500: '#802d4b',
    950: '#000000',
  },
}
SCSS
$custom: #802d4b;
$custom-light: #a86b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#802d4b",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 338.313,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.427,
    "c": 0.11811,
    "h": 1
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#802D4B
secondary
#5BAE90
accent
#D8A750
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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