#802A45#802A45

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

Color values

HEX#802A45
RGBrgb(128, 42, 69)
HSLhsl(341, 51%, 33%)
HSVhsv(341, 67%, 50%)
CMYKcmyk(0%, 67.2%, 46.1%, 49.8%)
CIE-LABlab(31.06, 39.38, 3.58)
CIE-LCHlch(31.06, 39.54, 5.19°)
OKLaboklab(42.13% 0.1202 0.0096)
OKLCHoklch(42.13% 0.121 4.6)
XYZxyz(10.8050, 6.6761, 6.3487)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A45 #2A8065
analogous
#802A70 #802A45 #803A2A
triadic
#802A45 #45802A #2A4580
tetradic
#802A45 #70802A #2A8065 #3A2A80
square
#802A45 #70802A #2A8065 #3A2A80
split-complementary
#802A45 #2A803A #2A7080
monochromatic
#240C13 #521B2C #802A45 #AE395E #C95B7E

Accessibility & contrast

On white

8.99
#802A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A45
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A45#FFFFFF#000000##FFFFFF
##802A451.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E46
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#8B1F35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802a45;
/* rgb */ color: rgb(128, 42, 69);
/* oklch */ color: oklch(42.1% 0.121 4.6);
Tailwind
colors: {
  custom: {
    50: '#a96978',
    500: '#802a45',
    950: '#000000',
  },
}
SCSS
$custom: #802a45;
$custom-light: #a96978;
$custom-dark: #000000;
JSON
{
  "hex": "#802a45",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 341.163,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.12057,
    "h": 4.6
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#802A45
secondary
#57AF93
accent
#DAAE4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802A45

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

Preview Lab → · Contrast checker → · Palette generator →

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