#501040#501040

#501040 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.110 H 339.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#501040
RGBrgb(80, 16, 64)
HSLhsl(315, 67%, 19%)
HSVhsv(315, 80%, 31%)
CMYKcmyk(0%, 80%, 20%, 68.6%)
CIE-LABlab(17.68, 34.64, -13.98)
CIE-LCHlch(17.68, 37.35, 338.02°)
OKLaboklab(30.49% 0.1032 -0.0377)
OKLCHoklch(30.49% 0.11 339.9)
XYZxyz(4.4191, 2.4467, 5.0890)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501040 #105020
analogous
#401050 #501040 #501020
triadic
#501040 #405010 #104050
tetradic
#501040 #504010 #105020 #102050
square
#501040 #504010 #105020 #102050
split-complementary
#501040 #205010 #105040
monochromatic
#1A0514 #1D0617 #501040 #831A69 #B62492

Accessibility & contrast

On white

14.10
#501040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501040
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501040#FFFFFF#000000##FFFFFF
##5010401.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#551226
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501040;
/* rgb */ color: rgb(80, 16, 64);
/* oklch */ color: oklch(30.5% 0.110 339.9);
Tailwind
colors: {
  custom: {
    50: '#845675',
    500: '#501040',
    950: '#000000',
  },
}
SCSS
$custom: #501040;
$custom-light: #845675;
$custom-dark: #000000;
JSON
{
  "hex": "#501040",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 315,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30486,
    "c": 0.10991,
    "h": 339.9
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#501040
secondary
#328A48
accent
#EA693E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #501040

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

Preview Lab → · Contrast checker → · Palette generator →

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