#520D1E#520D1E

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

Color values

HEX#520D1E
RGBrgb(82, 13, 30)
HSLhsl(345, 73%, 19%)
HSVhsv(345, 84%, 32%)
CMYKcmyk(0%, 84.1%, 63.4%, 67.8%)
CIE-LABlab(16.39, 32.25, 8.49)
CIE-LCHlch(16.39, 33.35, 14.74°)
OKLaboklab(29.19% 0.0974 0.0211)
OKLCHoklch(29.19% 0.1 12.2)
XYZxyz(3.8583, 2.1760, 1.4449)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D1E #0D5241
analogous
#520D40 #520D1E #521E0D
triadic
#520D1E #1E520D #0D1E52
tetradic
#520D1E #40520D #0D5241 #1E0D52
square
#520D1E #40520D #0D5241 #1E0D52
split-complementary
#520D1E #0D521E #0D4052
monochromatic
#1A040A #1D050B #520D1E #871531 #BC1E45

Accessibility & contrast

On white

14.63
#520D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#520D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D1E
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D1E#FFFFFF#000000##FFFFFF
##520D1E1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20201E
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#5A0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520d1e;
/* rgb */ color: rgb(82, 13, 30);
/* oklch */ color: oklch(29.2% 0.100 12.2);
Tailwind
colors: {
  custom: {
    50: '#885359',
    500: '#520d1e',
    950: '#000000',
  },
}
SCSS
$custom: #520d1e;
$custom-light: #885359;
$custom-dark: #000000;
JSON
{
  "hex": "#520d1e",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 30
  },
  "hsl": {
    "h": 345.217,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29189,
    "c": 0.09964,
    "h": 12.2
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#520D1E
secondary
#2E8D75
accent
#EFC238
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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