#801242#801242

#801242 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.147 H 1.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#801242
RGBrgb(128, 18, 66)
HSLhsl(334, 75%, 29%)
HSVhsv(334, 86%, 50%)
CMYKcmyk(0%, 85.9%, 48.4%, 49.8%)
CIE-LABlab(27.89, 47.67, 1.00)
CIE-LCHlch(27.89, 47.68, 1.20°)
OKLaboklab(39.76% 0.1465 0.0031)
OKLCHoklch(39.76% 0.147 1.2)
XYZxyz(10.1026, 5.4166, 5.6667)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801242 #128050
analogous
#801279 #801242 #801912
triadic
#801242 #428012 #124280
tetradic
#801242 #798012 #128050 #191280
square
#801242 #798012 #128050 #191280
split-complementary
#801242 #128019 #127980
monochromatic
#1B040E #4A0A26 #801242 #B61A5E #E12B7B

Accessibility & contrast

On white

10.08
#801242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#801242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801242
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801242#FFFFFF#000000##FFFFFF
##8012421.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#8C0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #801242;
/* rgb */ color: rgb(128, 18, 66);
/* oklch */ color: oklch(39.8% 0.147 1.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f76',
    500: '#801242',
    950: '#000000',
  },
}
SCSS
$custom: #801242;
$custom-light: #aa5f76;
$custom-dark: #000000;
JSON
{
  "hex": "#801242",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 333.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.14657,
    "h": 1.2
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#801242
secondary
#38B67F
accent
#F2A036
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #801242

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

Preview Lab → · Contrast checker → · Palette generator →

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