#520D16#520D16

#520D16 is a dark, moderate red. Relative luminance 0.021; OKLCH L 29.0% C 0.099 H 19.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#520D16
RGBrgb(82, 13, 22)
HSLhsl(352, 73%, 19%)
HSVhsv(352, 84%, 32%)
CMYKcmyk(0%, 84.1%, 73.2%, 67.8%)
CIE-LABlab(16.21, 31.68, 14.02)
CIE-LCHlch(16.21, 34.64, 23.87°)
OKLaboklab(29% 0.0938 0.033)
OKLCHoklch(29% 0.099 19.4)
XYZxyz(3.7688, 2.1402, 0.9736)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D16 #0D5249
analogous
#520D38 #520D16 #52260D
triadic
#520D16 #16520D #0D1652
tetradic
#520D16 #38520D #0D5249 #260D52
square
#520D16 #38520D #0D5249 #260D52
split-complementary
#520D16 #0D5226 #0D3852
monochromatic
#1A0407 #1D0508 #520D16 #871524 #BC1E32

Accessibility & contrast

On white

14.71
#520D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D16
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D16#FFFFFF#000000##FFFFFF
##520D161.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F16
Deuteranopia (green-blind)
#332D14
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d16;
/* rgb */ color: rgb(82, 13, 22);
/* oklch */ color: oklch(29.0% 0.099 19.4);
Tailwind
colors: {
  custom: {
    50: '#885352',
    500: '#520d16',
    950: '#000000',
  },
}
SCSS
$custom: #520d16;
$custom-light: #885352;
$custom-dark: #000000;
JSON
{
  "hex": "#520d16",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 22
  },
  "hsl": {
    "h": 352.174,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28999,
    "c": 0.0994,
    "h": 19.4
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#520D16
secondary
#2E8D80
accent
#EFD738
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #520D16

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

Preview Lab → · Contrast checker → · Palette generator →

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