#520E1A#520E1A

#520E1A is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.098 H 16.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#520E1A
RGBrgb(82, 14, 26)
HSLhsl(349, 71%, 19%)
HSVhsv(349, 83%, 32%)
CMYKcmyk(0%, 82.9%, 68.3%, 67.8%)
CIE-LABlab(16.42, 31.58, 11.42)
CIE-LCHlch(16.42, 33.58, 19.89°)
OKLaboklab(29.18% 0.0944 0.0277)
OKLCHoklch(29.18% 0.098 16.3)
XYZxyz(3.8236, 2.1831, 1.1971)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E1A #0E5246
analogous
#520E3C #520E1A #52240E
triadic
#520E1A #1A520E #0E1A52
tetradic
#520E1A #3C520E #0E5246 #240E52
square
#520E1A #3C520E #0E5246 #240E52
split-complementary
#520E1A #0E5224 #0E3C52
monochromatic
#1A0408 #1E0509 #520E1A #86172B #BB203B

Accessibility & contrast

On white

14.62
#520E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#520E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##520E1A#FFFFFF#000000##FFFFFF
##520E1A1.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)
#21201A
Deuteranopia (green-blind)
#322E18
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520e1a;
/* rgb */ color: rgb(82, 14, 26);
/* oklch */ color: oklch(29.2% 0.098 16.3);
Tailwind
colors: {
  custom: {
    50: '#885456',
    500: '#520e1a',
    950: '#000000',
  },
}
SCSS
$custom: #520e1a;
$custom-light: #885456;
$custom-dark: #000000;
JSON
{
  "hex": "#520e1a",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 26
  },
  "hsl": {
    "h": 349.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29184,
    "c": 0.09836,
    "h": 16.3
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#520E1A
secondary
#2F8C7C
accent
#EECE3A
background
#F8F5F5
surface
#F0E9E8
border
#CBC5C4
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520E1A

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

Preview Lab → · Contrast checker → · Palette generator →

#520E1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva