#802A4B#802A4B

#802A4B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.3% C 0.122 H 0.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#802A4B
RGBrgb(128, 42, 75)
HSLhsl(337, 51%, 33%)
HSVhsv(337, 67%, 50%)
CMYKcmyk(0%, 67.2%, 41.4%, 49.8%)
CIE-LABlab(31.24, 40.04, -0.09)
CIE-LCHlch(31.24, 40.04, 359.87°)
OKLaboklab(42.32% 0.1225 0.0002)
OKLCHoklch(42.32% 0.122 0.1)
XYZxyz(11.0008, 6.7544, 7.3797)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A4B #2A805F
analogous
#802A76 #802A4B #80342A
triadic
#802A4B #4B802A #2A4B80
tetradic
#802A4B #76802A #2A805F #342A80
square
#802A4B #76802A #2A805F #342A80
split-complementary
#802A4B #2A8034 #2A7680
monochromatic
#240C15 #521B30 #802A4B #AE3966 #C95B85

Accessibility & contrast

On white

8.93
#802A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#802A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A4B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A4B#FFFFFF#000000##FFFFFF
##802A4B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#515049
Tritanopia (blue-blind)
#8B2137
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802a4b;
/* rgb */ color: rgb(128, 42, 75);
/* oklch */ color: oklch(42.3% 0.122 0.1);
Tailwind
colors: {
  custom: {
    50: '#a9697d',
    500: '#802a4b',
    950: '#000000',
  },
}
SCSS
$custom: #802a4b;
$custom-light: #a9697d;
$custom-dark: #000000;
JSON
{
  "hex": "#802a4b",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 336.977,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.12246,
    "h": 0.1
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#802A4B
secondary
#57AF8D
accent
#DAA44E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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