#520D1D#520D1D

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

Color values

HEX#520D1D
RGBrgb(82, 13, 29)
HSLhsl(346, 73%, 19%)
HSVhsv(346, 84%, 32%)
CMYKcmyk(0%, 84.1%, 64.6%, 67.8%)
CIE-LABlab(16.36, 32.17, 9.18)
CIE-LCHlch(16.36, 33.45, 15.92°)
OKLaboklab(29.16% 0.0969 0.0227)
OKLCHoklch(29.16% 0.1 13.2)
XYZxyz(3.8458, 2.1710, 1.3787)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D1D #0D5242
analogous
#520D3F #520D1D #521F0D
triadic
#520D1D #1D520D #0D1D52
tetradic
#520D1D #3F520D #0D5242 #1F0D52
square
#520D1D #3F520D #0D5242 #1F0D52
split-complementary
#520D1D #0D521F #0D3F52
monochromatic
#1A0409 #1D050A #520D1D #871530 #BC1E42

Accessibility & contrast

On white

14.64
#520D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D1D
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D1D#FFFFFF#000000##FFFFFF
##520D1D1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1D
Deuteranopia (green-blind)
#322E1B
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520d1d;
/* rgb */ color: rgb(82, 13, 29);
/* oklch */ color: oklch(29.2% 0.100 13.2);
Tailwind
colors: {
  custom: {
    50: '#885358',
    500: '#520d1d',
    950: '#000000',
  },
}
SCSS
$custom: #520d1d;
$custom-light: #885358;
$custom-dark: #000000;
JSON
{
  "hex": "#520d1d",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 29
  },
  "hsl": {
    "h": 346.087,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29162,
    "c": 0.09955,
    "h": 13.2
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#520D1D
secondary
#2E8D77
accent
#EFC538
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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