#520F13#520F13

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

Color values

HEX#520F13
RGBrgb(82, 15, 19)
HSLhsl(356, 69%, 19%)
HSVhsv(356, 82%, 32%)
CMYKcmyk(0%, 81.7%, 76.8%, 67.8%)
CIE-LABlab(16.42, 30.75, 16.31)
CIE-LCHlch(16.42, 34.81, 27.94°)
OKLaboklab(29.14% 0.09 0.0378)
OKLCHoklch(29.14% 0.098 22.8)
XYZxyz(3.7685, 2.1831, 0.8389)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F13 #0F524E
analogous
#520F35 #520F13 #522D0F
triadic
#520F13 #13520F #0F1352
tetradic
#520F13 #35520F #0F524E #2D0F52
square
#520F13 #35520F #0F524E #2D0F52
split-complementary
#520F13 #0F522D #0F3552
monochromatic
#1A0506 #1E0607 #520F13 #86181F #B9222B

Accessibility & contrast

On white

14.62
#520F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F13
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F13#FFFFFF#000000##FFFFFF
##520F131.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F13
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f13;
/* rgb */ color: rgb(82, 15, 19);
/* oklch */ color: oklch(29.1% 0.098 22.8);
Tailwind
colors: {
  custom: {
    50: '#895450',
    500: '#520f13',
    950: '#000000',
  },
}
SCSS
$custom: #520f13;
$custom-light: #895450;
$custom-dark: #000000;
JSON
{
  "hex": "#520f13",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 19
  },
  "hsl": {
    "h": 356.418,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2914,
    "c": 0.09765,
    "h": 22.8
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#520F13
secondary
#318C87
accent
#ECE13C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #520F13

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

Preview Lab → · Contrast checker → · Palette generator →

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