#501F40#501F40

#501F40 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.4% C 0.086 H 341.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#501F40
RGBrgb(80, 31, 64)
HSLhsl(320, 44%, 22%)
HSVhsv(320, 61%, 31%)
CMYKcmyk(0%, 61.2%, 20%, 68.6%)
CIE-LABlab(20.27, 27.51, -9.99)
CIE-LCHlch(20.27, 29.27, 340.04°)
OKLaboklab(32.39% 0.0817 -0.0267)
OKLCHoklch(32.39% 0.086 341.9)
XYZxyz(4.7238, 3.0560, 5.1906)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F40 #1F502F
analogous
#481F50 #501F40 #501F28
triadic
#501F40 #40501F #1F4050
tetradic
#501F40 #50481F #1F502F #1F2850
square
#501F40 #50481F #1F502F #1F2850
split-complementary
#501F40 #28501F #1F5048
monochromatic
#160912 #240E1D #501F40 #7C3063 #A84187

Accessibility & contrast

On white

13.03
#501F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F40
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F40#FFFFFF#000000##FFFFFF
##501F401.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#551F2C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501f40;
/* rgb */ color: rgb(80, 31, 64);
/* oklch */ color: oklch(32.4% 0.086 341.9);
Tailwind
colors: {
  custom: {
    50: '#835d74',
    500: '#501f40',
    950: '#000000',
  },
}
SCSS
$custom: #501f40;
$custom-light: #835d74;
$custom-dark: #000000;
JSON
{
  "hex": "#501f40",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 319.592,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32385,
    "c": 0.08598,
    "h": 341.9
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#501F40
secondary
#46855B
accent
#D47E54
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #501F40

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

Preview Lab → · Contrast checker → · Palette generator →

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