#802B4D#802B4D

#802B4D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.5% C 0.122 H 358.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#802B4D
RGBrgb(128, 43, 77)
HSLhsl(336, 50%, 34%)
HSVhsv(336, 66%, 50%)
CMYKcmyk(0%, 66.4%, 39.8%, 49.8%)
CIE-LABlab(31.47, 39.82, -1.06)
CIE-LCHlch(31.47, 39.84, 358.47°)
OKLaboklab(42.51% 0.1218 -0.0023)
OKLCHoklch(42.51% 0.122 358.9)
XYZxyz(11.1062, 6.8540, 7.7578)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B4D #2B805E
analogous
#802B77 #802B4D #80332B
triadic
#802B4D #4D802B #2B4D80
tetradic
#802B4D #77802B #2B805E #332B80
square
#802B4D #77802B #2B805E #332B80
split-complementary
#802B4D #2B8033 #2B7780
monochromatic
#240C16 #521C31 #802B4D #AE3A69 #C95D88

Accessibility & contrast

On white

8.86
#802B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802B4D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B4D#FFFFFF#000000##FFFFFF
##802B4D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#51504B
Tritanopia (blue-blind)
#8A2339
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802b4d;
/* rgb */ color: rgb(128, 43, 77);
/* oklch */ color: oklch(42.5% 0.122 358.9);
Tailwind
colors: {
  custom: {
    50: '#a96a7e',
    500: '#802b4d',
    950: '#000000',
  },
}
SCSS
$custom: #802b4d;
$custom-light: #a96a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#802b4d",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 336,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.12177,
    "h": 358.9
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#802B4D
secondary
#58AE8C
accent
#D9A24F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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