#501312#501312

#501312 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.091 H 25.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#501312
RGBrgb(80, 19, 18)
HSLhsl(1, 63%, 19%)
HSVhsv(1, 78%, 31%)
CMYKcmyk(0%, 76.3%, 77.5%, 68.6%)
CIE-LABlab(16.58, 28.27, 17.04)
CIE-LCHlch(16.58, 33.01, 31.07°)
OKLaboklab(29.17% 0.0822 0.0394)
OKLCHoklch(29.17% 0.091 25.6)
XYZxyz(3.6507, 2.2154, 0.8075)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501312 #124F50
analogous
#501230 #501312 #503212
triadic
#501312 #125013 #131250
tetradic
#501312 #305012 #124F50 #321250
square
#501312 #305012 #124F50 #321250
split-complementary
#501312 #125032 #123050
monochromatic
#190606 #1E0707 #501312 #821F1D #B42B28

Accessibility & contrast

On white

14.55
#501312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501312
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501312#FFFFFF#000000##FFFFFF
##5013121.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242111
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#590213
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501312;
/* rgb */ color: rgb(80, 19, 18);
/* oklch */ color: oklch(29.2% 0.091 25.6);
Tailwind
colors: {
  custom: {
    50: '#875550',
    500: '#501312',
    950: '#000000',
  },
}
SCSS
$custom: #501312;
$custom-light: #875550;
$custom-dark: #000000;
JSON
{
  "hex": "#501312",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.968,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29174,
    "c": 0.09118,
    "h": 25.6
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#501312
secondary
#358889
accent
#E4E641
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501312

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

Preview Lab → · Contrast checker → · Palette generator →

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