#520D1A#520D1A

#520D1A is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.099 H 15.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#520D1A
RGBrgb(82, 13, 26)
HSLhsl(349, 73%, 19%)
HSVhsv(349, 84%, 32%)
CMYKcmyk(0%, 84.1%, 68.3%, 67.8%)
CIE-LABlab(16.29, 31.95, 11.25)
CIE-LCHlch(16.29, 33.87, 19.40°)
OKLaboklab(29.09% 0.0956 0.0273)
OKLCHoklch(29.09% 0.099 15.9)
XYZxyz(3.8105, 2.1568, 1.1928)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D1A #0D5245
analogous
#520D3C #520D1A #52220D
triadic
#520D1A #1A520D #0D1A52
tetradic
#520D1A #3C520D #0D5245 #220D52
square
#520D1A #3C520D #0D5245 #220D52
split-complementary
#520D1A #0D5222 #0D3C52
monochromatic
#1A0408 #1D0509 #520D1A #87152B #BC1E3B

Accessibility & contrast

On white

14.67
#520D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#520D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D1A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D1A#FFFFFF#000000##FFFFFF
##520D1A1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1A
Deuteranopia (green-blind)
#322E18
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d1a;
/* rgb */ color: rgb(82, 13, 26);
/* oklch */ color: oklch(29.1% 0.099 15.9);
Tailwind
colors: {
  custom: {
    50: '#885356',
    500: '#520d1a',
    950: '#000000',
  },
}
SCSS
$custom: #520d1a;
$custom-light: #885356;
$custom-dark: #000000;
JSON
{
  "hex": "#520d1a",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 26
  },
  "hsl": {
    "h": 348.696,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29088,
    "c": 0.09937,
    "h": 15.9
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#520D1A
secondary
#2E8D7B
accent
#EFCD38
background
#F8F5F5
surface
#F0E8E8
border
#CBC4C4
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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