#520F19#520F19

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

Color values

HEX#520F19
RGBrgb(82, 15, 25)
HSLhsl(351, 69%, 19%)
HSVhsv(351, 82%, 32%)
CMYKcmyk(0%, 81.7%, 69.5%, 67.8%)
CIE-LABlab(16.53, 31.13, 12.29)
CIE-LCHlch(16.53, 33.47, 21.54°)
OKLaboklab(29.26% 0.0927 0.0295)
OKLCHoklch(29.26% 0.097 17.7)
XYZxyz(3.8264, 2.2062, 1.1439)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F19 #0F5248
analogous
#520F3B #520F19 #52270F
triadic
#520F19 #19520F #0F1952
tetradic
#520F19 #3B520F #0F5248 #270F52
square
#520F19 #3B520F #0F5248 #270F52
split-complementary
#520F19 #0F5227 #0F3B52
monochromatic
#1A0508 #1E0609 #520F19 #861829 #B92239

Accessibility & contrast

On white

14.57
#520F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F19
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F19#FFFFFF#000000##FFFFFF
##520F191.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222019
Deuteranopia (green-blind)
#332E17
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f19;
/* rgb */ color: rgb(82, 15, 25);
/* oklch */ color: oklch(29.3% 0.097 17.7);
Tailwind
colors: {
  custom: {
    50: '#885455',
    500: '#520f19',
    950: '#000000',
  },
}
SCSS
$custom: #520f19;
$custom-light: #885455;
$custom-dark: #000000;
JSON
{
  "hex": "#520f19",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 25
  },
  "hsl": {
    "h": 351.045,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29262,
    "c": 0.0973,
    "h": 17.7
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#520F19
secondary
#318C7E
accent
#ECD23C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520F19

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

Preview Lab → · Contrast checker → · Palette generator →

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