#501A0C#501A0C

#501A0C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.085 H 35.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#501A0C
RGBrgb(80, 26, 12)
HSLhsl(12, 74%, 18%)
HSVhsv(12, 85%, 31%)
CMYKcmyk(0%, 67.5%, 85%, 68.6%)
CIE-LABlab(17.79, 24.49, 21.69)
CIE-LCHlch(17.79, 32.72, 41.53°)
OKLaboklab(30.06% 0.069 0.0492)
OKLCHoklch(30.06% 0.085 35.5)
XYZxyz(3.7444, 2.4713, 0.6276)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501A0C #0C4250
analogous
#500C20 #501A0C #503C0C
triadic
#501A0C #0C501A #1A0C50
tetradic
#501A0C #20500C #0C4250 #3C0C50
square
#501A0C #20500C #0C4250 #3C0C50
split-complementary
#501A0C #0C503C #0C2050
monochromatic
#1B0904 #1B0904 #501A0C #852B14 #BA3D1C

Accessibility & contrast

On white

14.05
#501A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#501A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501A0C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501A0C#FFFFFF#000000##FFFFFF
##501A0C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#590D17
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #501a0c;
/* rgb */ color: rgb(80, 26, 12);
/* oklch */ color: oklch(30.1% 0.085 35.5);
Tailwind
colors: {
  custom: {
    50: '#87594c',
    500: '#501a0c',
    950: '#000000',
  },
}
SCSS
$custom: #501a0c;
$custom-light: #87594c;
$custom-dark: #000000;
JSON
{
  "hex": "#501a0c",
  "rgb": {
    "r": 80,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 12.353,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30057,
    "c": 0.08474,
    "h": 35.5
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#501A0C
secondary
#2C788B
accent
#CAF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #501A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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