#501E40#501E40

#501E40 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.088 H 341.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#501E40
RGBrgb(80, 30, 64)
HSLhsl(319, 45%, 22%)
HSVhsv(319, 63%, 31%)
CMYKcmyk(0%, 62.5%, 20%, 68.6%)
CIE-LABlab(20.06, 28.06, -10.30)
CIE-LCHlch(20.06, 29.89, 339.84°)
OKLaboklab(32.23% 0.0834 -0.0275)
OKLCHoklch(32.23% 0.088 341.7)
XYZxyz(4.6981, 3.0046, 5.1820)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E40 #1E502E
analogous
#471E50 #501E40 #501E27
triadic
#501E40 #40501E #1E4050
tetradic
#501E40 #50471E #1E502E #1E2750
square
#501E40 #50471E #1E502E #1E2750
split-complementary
#501E40 #27501E #1E5047
monochromatic
#160812 #230D1C #501E40 #7D2F64 #A93F87

Accessibility & contrast

On white

13.12
#501E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E40
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E40#FFFFFF#000000##FFFFFF
##501E401.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#2F333F
Tritanopia (blue-blind)
#551F2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501e40;
/* rgb */ color: rgb(80, 30, 64);
/* oklch */ color: oklch(32.2% 0.088 341.7);
Tailwind
colors: {
  custom: {
    50: '#835d74',
    500: '#501e40',
    950: '#000000',
  },
}
SCSS
$custom: #501e40;
$custom-light: #835d74;
$custom-dark: #000000;
JSON
{
  "hex": "#501e40",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 319.2,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.08782,
    "h": 341.7
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#501E40
secondary
#458559
accent
#D57C53
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #501E40

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

Preview Lab → · Contrast checker → · Palette generator →

#501E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva