#501042#501042

#501042 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.111 H 338.3°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#501042
RGBrgb(80, 16, 66)
HSLhsl(313, 67%, 19%)
HSVhsv(313, 80%, 31%)
CMYKcmyk(0%, 80%, 17.5%, 68.6%)
CIE-LABlab(17.78, 34.96, -15.21)
CIE-LCHlch(17.78, 38.13, 336.49°)
OKLaboklab(30.6% 0.1035 -0.0412)
OKLCHoklch(30.6% 0.111 338.3)
XYZxyz(4.4770, 2.4698, 5.3941)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501042 #10501E
analogous
#3E1050 #501042 #501022
triadic
#501042 #425010 #104250
tetradic
#501042 #503E10 #10501E #102250
square
#501042 #503E10 #10501E #102250
split-complementary
#501042 #225010 #10503E
monochromatic
#1A0515 #1D0618 #501042 #831A6C #B62496

Accessibility & contrast

On white

14.06
#501042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#501042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501042
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501042#FFFFFF#000000##FFFFFF
##5010421.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#282F40
Tritanopia (blue-blind)
#551327
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501042;
/* rgb */ color: rgb(80, 16, 66);
/* oklch */ color: oklch(30.6% 0.111 338.3);
Tailwind
colors: {
  custom: {
    50: '#845676',
    500: '#501042',
    950: '#000000',
  },
}
SCSS
$custom: #501042;
$custom-light: #845676;
$custom-dark: #000000;
JSON
{
  "hex": "#501042",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 313.125,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30597,
    "c": 0.11144,
    "h": 338.3
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#501042
secondary
#328A45
accent
#EA643E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501042

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

Preview Lab → · Contrast checker → · Palette generator →

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