#520F14#520F14

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

Color values

HEX#520F14
RGBrgb(82, 15, 20)
HSLhsl(356, 69%, 19%)
HSVhsv(356, 82%, 32%)
CMYKcmyk(0%, 81.7%, 75.6%, 67.8%)
CIE-LABlab(16.44, 30.81, 15.68)
CIE-LCHlch(16.44, 34.57, 26.98°)
OKLaboklab(29.16% 0.0905 0.0365)
OKLCHoklch(29.16% 0.098 22)
XYZxyz(3.7772, 2.1866, 0.8848)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F14 #0F524D
analogous
#520F36 #520F14 #522C0F
triadic
#520F14 #14520F #0F1452
tetradic
#520F14 #36520F #0F524D #2C0F52
square
#520F14 #36520F #0F524D #2C0F52
split-complementary
#520F14 #0F522C #0F3652
monochromatic
#1A0506 #1E0607 #520F14 #861821 #B9222D

Accessibility & contrast

On white

14.61
#520F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F14
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F14#FFFFFF#000000##FFFFFF
##520F141.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520f14;
/* rgb */ color: rgb(82, 15, 20);
/* oklch */ color: oklch(29.2% 0.098 22.0);
Tailwind
colors: {
  custom: {
    50: '#895451',
    500: '#520f14',
    950: '#000000',
  },
}
SCSS
$custom: #520f14;
$custom-light: #895451;
$custom-dark: #000000;
JSON
{
  "hex": "#520f14",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 20
  },
  "hsl": {
    "h": 355.522,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29159,
    "c": 0.09756,
    "h": 22
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#520F14
secondary
#318C85
accent
#ECDF3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #520F14

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

Preview Lab → · Contrast checker → · Palette generator →

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