#501020#501020

#501020 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.094 H 10.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#501020
RGBrgb(80, 16, 32)
HSLhsl(345, 67%, 19%)
HSVhsv(345, 80%, 31%)
CMYKcmyk(0%, 80%, 60%, 68.6%)
CIE-LABlab(16.41, 30.59, 7.00)
CIE-LCHlch(16.41, 31.38, 12.89°)
OKLaboklab(29.14% 0.0927 0.0177)
OKLCHoklch(29.14% 0.094 10.8)
XYZxyz(3.7546, 2.1809, 1.5895)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501020 #105040
analogous
#501040 #501020 #502010
triadic
#501020 #205010 #102050
tetradic
#501020 #405010 #105040 #201050
square
#501020 #405010 #105040 #201050
split-complementary
#501020 #105020 #104050
monochromatic
#1A050A #1D060C #501020 #831A34 #B62449

Accessibility & contrast

On white

14.62
#501020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#501020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501020
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501020#FFFFFF#000000##FFFFFF
##5010201.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202020
Deuteranopia (green-blind)
#312D1E
Tritanopia (blue-blind)
#580217
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501020;
/* rgb */ color: rgb(80, 16, 32);
/* oklch */ color: oklch(29.1% 0.094 10.8);
Tailwind
colors: {
  custom: {
    50: '#86545b',
    500: '#501020',
    950: '#000000',
  },
}
SCSS
$custom: #501020;
$custom-light: #86545b;
$custom-dark: #000000;
JSON
{
  "hex": "#501020",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 345,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29144,
    "c": 0.09435,
    "h": 10.8
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#501020
secondary
#328A74
accent
#EABF3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #501020

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

Preview Lab → · Contrast checker → · Palette generator →

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