#802440#802440

#802440 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.127 H 6.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#802440
RGBrgb(128, 36, 64)
HSLhsl(342, 56%, 32%)
HSVhsv(342, 72%, 50%)
CMYKcmyk(0%, 71.9%, 50%, 49.8%)
CIE-LABlab(29.97, 41.47, 5.32)
CIE-LCHlch(29.97, 41.81, 7.31°)
OKLaboklab(41.27% 0.1265 0.014)
OKLCHoklch(41.27% 0.127 6.3)
XYZxyz(10.4592, 6.2225, 5.4998)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802440 #248064
analogous
#80246E #802440 #803624
triadic
#802440 #408024 #244080
tetradic
#802440 #6E8024 #248064 #362480
square
#802440 #6E8024 #248064 #362480
split-complementary
#802440 #248036 #246E80
monochromatic
#200910 #501728 #802440 #B03158 #CE5077

Accessibility & contrast

On white

9.36
#802440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#802440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802440
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802440#FFFFFF#000000##FFFFFF
##8024401.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8C142F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802440;
/* rgb */ color: rgb(128, 36, 64);
/* oklch */ color: oklch(41.3% 0.127 6.3);
Tailwind
colors: {
  custom: {
    50: '#aa6674',
    500: '#802440',
    950: '#000000',
  },
}
SCSS
$custom: #802440;
$custom-light: #aa6674;
$custom-dark: #000000;
JSON
{
  "hex": "#802440",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 341.739,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.12724,
    "h": 6.3
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#802440
secondary
#4EB293
accent
#DFB148
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802440

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

Preview Lab → · Contrast checker → · Palette generator →

#802440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva