#801C40#801C40

#801C40 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.137 H 4.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#801C40
RGBrgb(128, 28, 64)
HSLhsl(338, 64%, 31%)
HSVhsv(338, 78%, 50%)
CMYKcmyk(0%, 78.1%, 50%, 49.8%)
CIE-LABlab(28.88, 44.50, 3.77)
CIE-LCHlch(28.88, 44.66, 4.84°)
OKLaboklab(40.47% 0.1362 0.0101)
OKLCHoklch(40.47% 0.137 4.2)
XYZxyz(10.2436, 5.7913, 5.4279)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801C40 #1C805C
analogous
#801C72 #801C40 #802A1C
triadic
#801C40 #40801C #1C4080
tetradic
#801C40 #72801C #1C805C #2A1C80
square
#801C40 #72801C #1C805C #2A1C80
split-complementary
#801C40 #1C802A #1C7280
monochromatic
#1C060E #4E1127 #801C40 #B22759 #D54176

Accessibility & contrast

On white

9.73
#801C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#801C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801C40
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801C40#FFFFFF#000000##FFFFFF
##801C401.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343841
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#8C052B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #801c40;
/* rgb */ color: rgb(128, 28, 64);
/* oklch */ color: oklch(40.5% 0.137 4.2);
Tailwind
colors: {
  custom: {
    50: '#aa6274',
    500: '#801c40',
    950: '#000000',
  },
}
SCSS
$custom: #801c40;
$custom-light: #aa6274;
$custom-dark: #000000;
JSON
{
  "hex": "#801c40",
  "rgb": {
    "r": 128,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 338.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.13655,
    "h": 4.2
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#801C40
secondary
#44B38B
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #801C40

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

Preview Lab → · Contrast checker → · Palette generator →

#801C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva