#501D31#501D31

#501D31 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.080 H 358.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#501D31
RGBrgb(80, 29, 49)
HSLhsl(336, 47%, 21%)
HSVhsv(336, 64%, 31%)
CMYKcmyk(0%, 63.7%, 38.8%, 68.6%)
CIE-LABlab(19.25, 26.25, -1.07)
CIE-LCHlch(19.25, 26.27, 357.66°)
OKLaboklab(31.43% 0.08 -0.0025)
OKLCHoklch(31.43% 0.08 358.2)
XYZxyz(4.3022, 2.8064, 3.2203)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D31 #1D503C
analogous
#501D4B #501D31 #50231D
triadic
#501D31 #31501D #1D3150
tetradic
#501D31 #4B501D #1D503C #231D50
square
#501D31 #4B501D #1D503C #231D50
split-complementary
#501D31 #1D5023 #1D4B50
monochromatic
#16080E #230D15 #501D31 #7D2D4D #AA3E68

Accessibility & contrast

On white

13.45
#501D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#501D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D31
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D31#FFFFFF#000000##FFFFFF
##501D311.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252932
Deuteranopia (green-blind)
#333230
Tritanopia (blue-blind)
#571925
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501d31;
/* rgb */ color: rgb(80, 29, 49);
/* oklch */ color: oklch(31.4% 0.080 358.2);
Tailwind
colors: {
  custom: {
    50: '#845c69',
    500: '#501d31',
    950: '#000000',
  },
}
SCSS
$custom: #501d31;
$custom-light: #845c69;
$custom-dark: #000000;
JSON
{
  "hex": "#501d31",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 336.471,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.08004,
    "h": 358.2
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#501D31
secondary
#44856B
accent
#D6A251
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #501D31

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

Preview Lab → · Contrast checker → · Palette generator →

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