#520F11#520F11

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

Color values

HEX#520F11
RGBrgb(82, 15, 17)
HSLhsl(358, 69%, 19%)
HSVhsv(358, 82%, 32%)
CMYKcmyk(0%, 81.7%, 79.3%, 67.8%)
CIE-LABlab(16.39, 30.65, 17.49)
CIE-LCHlch(16.39, 35.28, 29.71°)
OKLaboklab(29.11% 0.0892 0.0403)
OKLCHoklch(29.11% 0.098 24.3)
XYZxyz(3.7521, 2.1765, 0.7528)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F11 #0F5250
analogous
#520F33 #520F11 #522F0F
triadic
#520F11 #11520F #0F1152
tetradic
#520F11 #33520F #0F5250 #2F0F52
square
#520F11 #33520F #0F5250 #2F0F52
split-complementary
#520F11 #0F522F #0F3352
monochromatic
#1A0505 #1E0606 #520F11 #86181C #B92226

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##520F11#FFFFFF#000000##FFFFFF
##520F111.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)
#231F10
Deuteranopia (green-blind)
#342E0F
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f11;
/* rgb */ color: rgb(82, 15, 17);
/* oklch */ color: oklch(29.1% 0.098 24.3);
Tailwind
colors: {
  custom: {
    50: '#89544f',
    500: '#520f11',
    950: '#000000',
  },
}
SCSS
$custom: #520f11;
$custom-light: #89544f;
$custom-dark: #000000;
JSON
{
  "hex": "#520f11",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 17
  },
  "hsl": {
    "h": 358.209,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29106,
    "c": 0.09789,
    "h": 24.3
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#520F11
secondary
#318C89
accent
#ECE73C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #520F11

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

Preview Lab → · Contrast checker → · Palette generator →

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