#520D1C#520D1C

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

Color values

HEX#520D1C
RGBrgb(82, 13, 28)
HSLhsl(347, 73%, 19%)
HSVhsv(347, 84%, 32%)
CMYKcmyk(0%, 84.1%, 65.9%, 67.8%)
CIE-LABlab(16.34, 32.09, 9.87)
CIE-LCHlch(16.34, 33.58, 17.09°)
OKLaboklab(29.14% 0.0965 0.0242)
OKLCHoklch(29.14% 0.099 14.1)
XYZxyz(3.8336, 2.1661, 1.3146)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D1C #0D5243
analogous
#520D3E #520D1C #52200D
triadic
#520D1C #1C520D #0D1C52
tetradic
#520D1C #3E520D #0D5243 #200D52
square
#520D1C #3E520D #0D5243 #200D52
split-complementary
#520D1C #0D5220 #0D3E52
monochromatic
#1A0409 #1D050A #520D1C #87152E #BC1E40

Accessibility & contrast

On white

14.65
#520D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D1C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D1C#FFFFFF#000000##FFFFFF
##520D1C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1C
Deuteranopia (green-blind)
#322E1A
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d1c;
/* rgb */ color: rgb(82, 13, 28);
/* oklch */ color: oklch(29.1% 0.099 14.1);
Tailwind
colors: {
  custom: {
    50: '#885357',
    500: '#520d1c',
    950: '#000000',
  },
}
SCSS
$custom: #520d1c;
$custom-light: #885357;
$custom-dark: #000000;
JSON
{
  "hex": "#520d1c",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 28
  },
  "hsl": {
    "h": 346.957,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29137,
    "c": 0.09947,
    "h": 14.1
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#520D1C
secondary
#2E8D78
accent
#EFC838
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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