#501221#501221

#501221 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.092 H 10.7°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#501221
RGBrgb(80, 18, 33)
HSLhsl(345, 63%, 19%)
HSVhsv(345, 78%, 31%)
CMYKcmyk(0%, 77.5%, 58.8%, 68.6%)
CIE-LABlab(16.74, 29.84, 6.73)
CIE-LCHlch(16.74, 30.59, 12.71°)
OKLaboklab(29.4% 0.0904 0.0171)
OKLCHoklch(29.4% 0.092 10.7)
XYZxyz(3.7994, 2.2484, 1.6725)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501221 #125041
analogous
#501240 #501221 #502212
triadic
#501221 #215012 #122150
tetradic
#501221 #405012 #125041 #221250
square
#501221 #405012 #125041 #221250
split-complementary
#501221 #125022 #124050
monochromatic
#19060A #1E070C #501221 #821D36 #B4284A

Accessibility & contrast

On white

14.49
#501221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#501221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501221
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501221#FFFFFF#000000##FFFFFF
##5012211.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212121
Deuteranopia (green-blind)
#312E1F
Tritanopia (blue-blind)
#580518
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501221;
/* rgb */ color: rgb(80, 18, 33);
/* oklch */ color: oklch(29.4% 0.092 10.7);
Tailwind
colors: {
  custom: {
    50: '#85555b',
    500: '#501221',
    950: '#000000',
  },
}
SCSS
$custom: #501221;
$custom-light: #85555b;
$custom-dark: #000000;
JSON
{
  "hex": "#501221",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 33
  },
  "hsl": {
    "h": 345.484,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29399,
    "c": 0.09202,
    "h": 10.7
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#501221
secondary
#358975
accent
#E6BE41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #501221

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

Preview Lab → · Contrast checker → · Palette generator →

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