#520D19#520D19

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

Color values

HEX#520D19
RGBrgb(82, 13, 25)
HSLhsl(350, 73%, 19%)
HSVhsv(350, 84%, 32%)
CMYKcmyk(0%, 84.1%, 69.5%, 67.8%)
CIE-LABlab(16.27, 31.88, 11.95)
CIE-LCHlch(16.27, 34.04, 20.54°)
OKLaboklab(29.06% 0.0951 0.0287)
OKLCHoklch(29.06% 0.099 16.8)
XYZxyz(3.7995, 2.1524, 1.1349)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D19 #0D5246
analogous
#520D3B #520D19 #52230D
triadic
#520D19 #19520D #0D1952
tetradic
#520D19 #3B520D #0D5246 #230D52
square
#520D19 #3B520D #0D5246 #230D52
split-complementary
#520D19 #0D5223 #0D3B52
monochromatic
#1A0408 #1D0509 #520D19 #871529 #BC1E39

Accessibility & contrast

On white

14.68
#520D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D19
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D19#FFFFFF#000000##FFFFFF
##520D191.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F19
Deuteranopia (green-blind)
#322E17
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d19;
/* rgb */ color: rgb(82, 13, 25);
/* oklch */ color: oklch(29.1% 0.099 16.8);
Tailwind
colors: {
  custom: {
    50: '#885355',
    500: '#520d19',
    950: '#000000',
  },
}
SCSS
$custom: #520d19;
$custom-light: #885355;
$custom-dark: #000000;
JSON
{
  "hex": "#520d19",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 25
  },
  "hsl": {
    "h": 349.565,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29064,
    "c": 0.09936,
    "h": 16.8
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#520D19
secondary
#2E8D7C
accent
#EFD038
background
#F8F5F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520D19

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

Preview Lab → · Contrast checker → · Palette generator →

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