#802A46#802A46

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

Color values

HEX#802A46
RGBrgb(128, 42, 70)
HSLhsl(340, 51%, 33%)
HSVhsv(340, 67%, 50%)
CMYKcmyk(0%, 67.2%, 45.3%, 49.8%)
CIE-LABlab(31.09, 39.49, 2.97)
CIE-LCHlch(31.09, 39.60, 4.29°)
OKLaboklab(42.16% 0.1206 0.0081)
OKLCHoklch(42.16% 0.121 3.8)
XYZxyz(10.8363, 6.6886, 6.5135)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A46 #2A8064
analogous
#802A71 #802A46 #80392A
triadic
#802A46 #46802A #2A4680
tetradic
#802A46 #71802A #2A8064 #392A80
square
#802A46 #71802A #2A8064 #392A80
split-complementary
#802A46 #2A8039 #2A7180
monochromatic
#240C14 #521B2D #802A46 #AE395F #C95B7F

Accessibility & contrast

On white

8.98
#802A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A46
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A46#FFFFFF#000000##FFFFFF
##802A461.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802a46;
/* rgb */ color: rgb(128, 42, 70);
/* oklch */ color: oklch(42.2% 0.121 3.8);
Tailwind
colors: {
  custom: {
    50: '#a96979',
    500: '#802a46',
    950: '#000000',
  },
}
SCSS
$custom: #802a46;
$custom-light: #a96979;
$custom-dark: #000000;
JSON
{
  "hex": "#802a46",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 340.465,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42157,
    "c": 0.12084,
    "h": 3.8
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#802A46
secondary
#57AF92
accent
#DAAC4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802A46

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

Preview Lab → · Contrast checker → · Palette generator →

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