#520F10#520F10

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

Color values

HEX#520F10
RGBrgb(82, 15, 16)
HSLhsl(359, 69%, 19%)
HSVhsv(359, 82%, 32%)
CMYKcmyk(0%, 81.7%, 80.5%, 67.8%)
CIE-LABlab(16.37, 30.60, 18.04)
CIE-LCHlch(16.37, 35.52, 30.52°)
OKLaboklab(29.09% 0.0888 0.0415)
OKLCHoklch(29.09% 0.098 25.1)
XYZxyz(3.7445, 2.1735, 0.7125)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F10 #0F5251
analogous
#520F32 #520F10 #52300F
triadic
#520F10 #10520F #0F1052
tetradic
#520F10 #32520F #0F5251 #300F52
square
#520F10 #32520F #0F5251 #300F52
split-complementary
#520F10 #0F5230 #0F3252
monochromatic
#1A0505 #1E0606 #520F10 #86181A #B92224

Accessibility & contrast

On white

14.64
#520F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#520F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F10
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F10#FFFFFF#000000##FFFFFF
##520F101.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0F
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#5B0010
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f10;
/* rgb */ color: rgb(82, 15, 16);
/* oklch */ color: oklch(29.1% 0.098 25.1);
Tailwind
colors: {
  custom: {
    50: '#89544e',
    500: '#520f10',
    950: '#000000',
  },
}
SCSS
$custom: #520f10;
$custom-light: #89544e;
$custom-dark: #000000;
JSON
{
  "hex": "#520f10",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 16
  },
  "hsl": {
    "h": 359.104,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.09801,
    "h": 25.1
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#520F10
secondary
#318C8B
accent
#ECE93C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #520F10

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

Preview Lab → · Contrast checker → · Palette generator →

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