#520D0E#520D0E

#520D0E is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.9% C 0.100 H 25.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#520D0E
RGBrgb(82, 13, 14)
HSLhsl(359, 73%, 19%)
HSVhsv(359, 84%, 32%)
CMYKcmyk(0%, 84.1%, 82.9%, 67.8%)
CIE-LABlab(16.07, 31.25, 18.73)
CIE-LCHlch(16.07, 36.44, 30.93°)
OKLaboklab(28.86% 0.0904 0.0432)
OKLCHoklch(28.86% 0.1 25.5)
XYZxyz(3.7033, 2.1140, 0.6284)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D0E #0D5251
analogous
#520D30 #520D0E #522E0D
triadic
#520D0E #0E520D #0D0E52
tetradic
#520D0E #30520D #0D5251 #2E0D52
square
#520D0E #30520D #0D5251 #2E0D52
split-complementary
#520D0E #0D522E #0D3052
monochromatic
#1A0405 #1D0505 #520D0E #871517 #BC1E20

Accessibility & contrast

On white

14.76
#520D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#520D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D0E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D0E#FFFFFF#000000##FFFFFF
##520D0E1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0D
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#5B000E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d0e;
/* rgb */ color: rgb(82, 13, 14);
/* oklch */ color: oklch(28.9% 0.100 25.5);
Tailwind
colors: {
  custom: {
    50: '#89534d',
    500: '#520d0e',
    950: '#000000',
  },
}
SCSS
$custom: #520d0e;
$custom-light: #89534d;
$custom-dark: #000000;
JSON
{
  "hex": "#520d0e",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 14
  },
  "hsl": {
    "h": 359.13,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28859,
    "c": 0.10016,
    "h": 25.5
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#520D0E
secondary
#2E8D8C
accent
#EFED38
background
#F9F4F4
surface
#F1E7E7
border
#CBC3C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #520D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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