#520D0F#520D0F

#520D0F is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.9% C 0.100 H 24.8°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#520D0F
RGBrgb(82, 13, 15)
HSLhsl(358, 73%, 19%)
HSVhsv(358, 84%, 32%)
CMYKcmyk(0%, 84.1%, 81.7%, 67.8%)
CIE-LABlab(16.09, 31.30, 18.23)
CIE-LCHlch(16.09, 36.22, 30.21°)
OKLaboklab(28.87% 0.0908 0.042)
OKLCHoklch(28.87% 0.1 24.8)
XYZxyz(3.7103, 2.1168, 0.6651)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D0F #0D5250
analogous
#520D31 #520D0F #522D0D
triadic
#520D0F #0F520D #0D0F52
tetradic
#520D0F #31520D #0D5250 #2D0D52
square
#520D0F #31520D #0D5250 #2D0D52
split-complementary
#520D0F #0D522D #0D3152
monochromatic
#1A0405 #1D0505 #520D0F #871519 #BC1E22

Accessibility & contrast

On white

14.76
#520D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#520D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D0F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D0F#FFFFFF#000000##FFFFFF
##520D0F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0E
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#5B000F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d0f;
/* rgb */ color: rgb(82, 13, 15);
/* oklch */ color: oklch(28.9% 0.100 24.8);
Tailwind
colors: {
  custom: {
    50: '#89534d',
    500: '#520d0f',
    950: '#000000',
  },
}
SCSS
$custom: #520d0f;
$custom-light: #89534d;
$custom-dark: #000000;
JSON
{
  "hex": "#520d0f",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 15
  },
  "hsl": {
    "h": 358.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28874,
    "c": 0.10002,
    "h": 24.8
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#520D0F
secondary
#2E8D8A
accent
#EFEA38
background
#F9F4F4
surface
#F1E7E7
border
#CBC3C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #520D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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