#801F40#801F40

#801F40 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.133 H 4.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#801F40
RGBrgb(128, 31, 64)
HSLhsl(340, 61%, 31%)
HSVhsv(340, 76%, 50%)
CMYKcmyk(0%, 75.8%, 50%, 49.8%)
CIE-LABlab(29.26, 43.43, 4.32)
CIE-LCHlch(29.26, 43.64, 5.68°)
OKLaboklab(40.75% 0.1327 0.0115)
OKLCHoklch(40.75% 0.133 4.9)
XYZxyz(10.3184, 5.9407, 5.4528)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801F40 #1F805F
analogous
#801F70 #801F40 #802F1F
triadic
#801F40 #40801F #1F4080
tetradic
#801F40 #70801F #1F805F #2F1F80
square
#801F40 #70801F #1F805F #2F1F80
split-complementary
#801F40 #1F802F #1F7080
monochromatic
#1D070F #4F1327 #801F40 #B12B59 #D24776

Accessibility & contrast

On white

9.60
#801F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#801F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801F40
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801F40#FFFFFF#000000##FFFFFF
##801F401.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8C0B2D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #801f40;
/* rgb */ color: rgb(128, 31, 64);
/* oklch */ color: oklch(40.7% 0.133 4.9);
Tailwind
colors: {
  custom: {
    50: '#aa6474',
    500: '#801f40',
    950: '#000000',
  },
}
SCSS
$custom: #801f40;
$custom-light: #aa6474;
$custom-dark: #000000;
JSON
{
  "hex": "#801f40",
  "rgb": {
    "r": 128,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 339.588,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40748,
    "c": 0.13323,
    "h": 4.9
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#801F40
secondary
#48B38F
accent
#E4AE44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #801F40

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

Preview Lab → · Contrast checker → · Palette generator →

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