#802B4B#802B4B

#802B4B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.121 H 0.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#802B4B
RGBrgb(128, 43, 75)
HSLhsl(337, 50%, 34%)
HSVhsv(337, 66%, 50%)
CMYKcmyk(0%, 66.4%, 41.4%, 49.8%)
CIE-LABlab(31.41, 39.59, 0.15)
CIE-LCHlch(31.41, 39.59, 0.22°)
OKLaboklab(42.45% 0.121 0.0009)
OKLCHoklch(42.45% 0.121 0.4)
XYZxyz(11.0367, 6.8262, 7.3916)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B4B #2B8060
analogous
#802B75 #802B4B #80352B
triadic
#802B4B #4B802B #2B4B80
tetradic
#802B4B #75802B #2B8060 #352B80
square
#802B4B #75802B #2B8060 #352B80
split-complementary
#802B4B #2B8035 #2B7580
monochromatic
#240C15 #521C30 #802B4B #AE3A66 #C95D85

Accessibility & contrast

On white

8.88
#802B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802B4B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B4B#FFFFFF#000000##FFFFFF
##802B4B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#8B2238
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802b4b;
/* rgb */ color: rgb(128, 43, 75);
/* oklch */ color: oklch(42.4% 0.121 0.4);
Tailwind
colors: {
  custom: {
    50: '#a96a7d',
    500: '#802b4b',
    950: '#000000',
  },
}
SCSS
$custom: #802b4b;
$custom-light: #a96a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#802b4b",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 337.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.12102,
    "h": 0.4
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#802B4B
secondary
#58AE8E
accent
#D9A54F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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