#801742#801742

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

Color values

HEX#801742
RGBrgb(128, 23, 66)
HSLhsl(335, 70%, 30%)
HSVhsv(335, 82%, 50%)
CMYKcmyk(0%, 82%, 48.4%, 49.8%)
CIE-LABlab(28.37, 46.29, 1.70)
CIE-LCHlch(28.37, 46.32, 2.10°)
OKLaboklab(40.11% 0.1421 0.0049)
OKLCHoklch(40.11% 0.142 2)
XYZxyz(10.1927, 5.5967, 5.6968)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801742 #178055
analogous
#801776 #801742 #802117
triadic
#801742 #428017 #174280
tetradic
#801742 #768017 #178055 #211780
square
#801742 #768017 #178055 #211780
split-complementary
#801742 #178021 #177680
monochromatic
#1A050D #4C0E27 #801742 #B4205D #DB367A

Accessibility & contrast

On white

9.91
#801742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801742
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801742#FFFFFF#000000##FFFFFF
##8017421.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #801742;
/* rgb */ color: rgb(128, 23, 66);
/* oklch */ color: oklch(40.1% 0.142 2.0);
Tailwind
colors: {
  custom: {
    50: '#aa6076',
    500: '#801742',
    950: '#000000',
  },
}
SCSS
$custom: #801742;
$custom-light: #aa6076;
$custom-dark: #000000;
JSON
{
  "hex": "#801742",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 335.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.14219,
    "h": 2
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#801742
secondary
#3EB484
accent
#ECA43B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #801742

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

Preview Lab → · Contrast checker → · Palette generator →

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