#802A47#802A47

#802A47 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.121 H 3.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#802A47
RGBrgb(128, 42, 71)
HSLhsl(340, 51%, 33%)
HSVhsv(340, 67%, 50%)
CMYKcmyk(0%, 67.2%, 44.5%, 49.8%)
CIE-LABlab(31.12, 39.59, 2.35)
CIE-LCHlch(31.12, 39.66, 3.40°)
OKLaboklab(42.19% 0.121 0.0065)
OKLCHoklch(42.19% 0.121 3.1)
XYZxyz(10.8682, 6.7014, 6.6812)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A47 #2A8063
analogous
#802A72 #802A47 #80382A
triadic
#802A47 #47802A #2A4780
tetradic
#802A47 #72802A #2A8063 #382A80
square
#802A47 #72802A #2A8063 #382A80
split-complementary
#802A47 #2A8038 #2A7280
monochromatic
#240C14 #521B2D #802A47 #AE3961 #C95B80

Accessibility & contrast

On white

8.97
#802A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#802A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A47
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A47#FFFFFF#000000##FFFFFF
##802A471.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#8B1F35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802a47;
/* rgb */ color: rgb(128, 42, 71);
/* oklch */ color: oklch(42.2% 0.121 3.1);
Tailwind
colors: {
  custom: {
    50: '#a9697a',
    500: '#802a47',
    950: '#000000',
  },
}
SCSS
$custom: #802a47;
$custom-light: #a9697a;
$custom-dark: #000000;
JSON
{
  "hex": "#802a47",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 339.767,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.12113,
    "h": 3.1
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#802A47
secondary
#57AF91
accent
#DAAB4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802A47

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

Preview Lab → · Contrast checker → · Palette generator →

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