#802B4E#802B4E

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

Color values

HEX#802B4E
RGBrgb(128, 43, 78)
HSLhsl(335, 50%, 34%)
HSVhsv(335, 66%, 50%)
CMYKcmyk(0%, 66.4%, 39.1%, 49.8%)
CIE-LABlab(31.51, 39.94, -1.67)
CIE-LCHlch(31.51, 39.98, 357.61°)
OKLaboklab(42.55% 0.1221 -0.0039)
OKLCHoklch(42.55% 0.122 358.2)
XYZxyz(11.1418, 6.8683, 7.9452)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B4E #2B805D
analogous
#802B78 #802B4E #80322B
triadic
#802B4E #4E802B #2B4E80
tetradic
#802B4E #78802B #2B805D #322B80
square
#802B4E #78802B #2B805D #322B80
split-complementary
#802B4E #2B8032 #2B7880
monochromatic
#240C16 #521C32 #802B4E #AE3A6A #C95D89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802B4E#FFFFFF#000000##FFFFFF
##802B4E1.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)
#3A404F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#8A2339
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802b4e;
/* rgb */ color: rgb(128, 43, 78);
/* oklch */ color: oklch(42.5% 0.122 358.2);
Tailwind
colors: {
  custom: {
    50: '#a86a7f',
    500: '#802b4e',
    950: '#000000',
  },
}
SCSS
$custom: #802b4e;
$custom-light: #a86a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#802b4e",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 335.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.12217,
    "h": 358.2
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#802B4E
secondary
#58AE8B
accent
#D9A04F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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