#520F16#520F16

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

Color values

HEX#520F16
RGBrgb(82, 15, 22)
HSLhsl(354, 69%, 19%)
HSVhsv(354, 82%, 32%)
CMYKcmyk(0%, 81.7%, 73.2%, 67.8%)
CIE-LABlab(16.47, 30.93, 14.35)
CIE-LCHlch(16.47, 34.10, 24.89°)
OKLaboklab(29.2% 0.0914 0.0338)
OKLCHoklch(29.2% 0.097 20.3)
XYZxyz(3.7957, 2.1940, 0.9825)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F16 #0F524B
analogous
#520F38 #520F16 #522A0F
triadic
#520F16 #16520F #0F1652
tetradic
#520F16 #38520F #0F524B #2A0F52
square
#520F16 #38520F #0F524B #2A0F52
split-complementary
#520F16 #0F522A #0F3852
monochromatic
#1A0507 #1E0608 #520F16 #861824 #B92232

Accessibility & contrast

On white

14.60
#520F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F16
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F16#FFFFFF#000000##FFFFFF
##520F161.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222016
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f16;
/* rgb */ color: rgb(82, 15, 22);
/* oklch */ color: oklch(29.2% 0.097 20.3);
Tailwind
colors: {
  custom: {
    50: '#885452',
    500: '#520f16',
    950: '#000000',
  },
}
SCSS
$custom: #520f16;
$custom-light: #885452;
$custom-dark: #000000;
JSON
{
  "hex": "#520f16",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 22
  },
  "hsl": {
    "h": 353.731,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.09741,
    "h": 20.3
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#520F16
secondary
#318C83
accent
#ECDA3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #520F16

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

Preview Lab → · Contrast checker → · Palette generator →

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