#801840#801840

#801840 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 3.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#801840
RGBrgb(128, 24, 64)
HSLhsl(337, 68%, 30%)
HSVhsv(337, 81%, 50%)
CMYKcmyk(0%, 81.3%, 50%, 49.8%)
CIE-LABlab(28.42, 45.80, 3.11)
CIE-LCHlch(28.42, 45.91, 3.88°)
OKLaboklab(40.13% 0.1404 0.0084)
OKLCHoklch(40.13% 0.141 3.4)
XYZxyz(10.1550, 5.6140, 5.3984)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801840 #188058
analogous
#801874 #801840 #802418
triadic
#801840 #408018 #184080
tetradic
#801840 #748018 #188058 #241880
square
#801840 #748018 #188058 #241880
split-complementary
#801840 #188024 #187480
monochromatic
#1A050D #4C0E26 #801840 #B4225A #DA3977

Accessibility & contrast

On white

9.89
#801840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#801840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801840
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801840#FFFFFF#000000##FFFFFF
##8018401.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4E4A3E
Tritanopia (blue-blind)
#8C002A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #801840;
/* rgb */ color: rgb(128, 24, 64);
/* oklch */ color: oklch(40.1% 0.141 3.4);
Tailwind
colors: {
  custom: {
    50: '#aa6174',
    500: '#801840',
    950: '#000000',
  },
}
SCSS
$custom: #801840;
$custom-light: #aa6174;
$custom-dark: #000000;
JSON
{
  "hex": "#801840",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 336.923,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40125,
    "c": 0.14064,
    "h": 3.4
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#801840
secondary
#40B487
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #801840

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

Preview Lab → · Contrast checker → · Palette generator →

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