#520F1A#520F1A

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

Color values

HEX#520F1A
RGBrgb(82, 15, 26)
HSLhsl(350, 69%, 19%)
HSVhsv(350, 82%, 32%)
CMYKcmyk(0%, 81.7%, 68.3%, 67.8%)
CIE-LABlab(16.56, 31.20, 11.60)
CIE-LCHlch(16.56, 33.29, 20.40°)
OKLaboklab(29.29% 0.0932 0.0281)
OKLCHoklch(29.29% 0.097 16.8)
XYZxyz(3.8374, 2.2106, 1.2017)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F1A #0F5247
analogous
#520F3C #520F1A #52260F
triadic
#520F1A #1A520F #0F1A52
tetradic
#520F1A #3C520F #0F5247 #260F52
square
#520F1A #3C520F #0F5247 #260F52
split-complementary
#520F1A #0F5226 #0F3C52
monochromatic
#1A0508 #1E060A #520F1A #86182A #B9223B

Accessibility & contrast

On white

14.56
#520F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F1A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F1A#FFFFFF#000000##FFFFFF
##520F1A1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201A
Deuteranopia (green-blind)
#332E18
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f1a;
/* rgb */ color: rgb(82, 15, 26);
/* oklch */ color: oklch(29.3% 0.097 16.8);
Tailwind
colors: {
  custom: {
    50: '#885456',
    500: '#520f1a',
    950: '#000000',
  },
}
SCSS
$custom: #520f1a;
$custom-light: #885456;
$custom-dark: #000000;
JSON
{
  "hex": "#520f1a",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 26
  },
  "hsl": {
    "h": 350.149,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29285,
    "c": 0.0973,
    "h": 16.8
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#520F1A
secondary
#318C7D
accent
#ECCF3C
background
#F8F5F5
surface
#F0E9E8
border
#CBC5C4
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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