#520F1E#520F1E

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

Color values

HEX#520F1E
RGBrgb(82, 15, 30)
HSLhsl(347, 69%, 19%)
HSVhsv(347, 82%, 32%)
CMYKcmyk(0%, 81.7%, 63.4%, 67.8%)
CIE-LABlab(16.65, 31.51, 8.84)
CIE-LCHlch(16.65, 32.72, 15.68°)
OKLaboklab(29.39% 0.095 0.022)
OKLCHoklch(29.39% 0.097 13)
XYZxyz(3.8852, 2.2298, 1.4539)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F1E #0F5243
analogous
#520F40 #520F1E #52220F
triadic
#520F1E #1E520F #0F1E52
tetradic
#520F1E #40520F #0F5243 #220F52
square
#520F1E #40520F #0F5243 #220F52
split-complementary
#520F1E #0F5222 #0F4052
monochromatic
#1A0509 #1E060B #520F1E #861831 #B92244

Accessibility & contrast

On white

14.52
#520F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#520F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F1E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F1E#FFFFFF#000000##FFFFFF
##520F1E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f1e;
/* rgb */ color: rgb(82, 15, 30);
/* oklch */ color: oklch(29.4% 0.097 13.0);
Tailwind
colors: {
  custom: {
    50: '#885459',
    500: '#520f1e',
    950: '#000000',
  },
}
SCSS
$custom: #520f1e;
$custom-light: #885459;
$custom-dark: #000000;
JSON
{
  "hex": "#520f1e",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 346.567,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29385,
    "c": 0.09749,
    "h": 13
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#520F1E
secondary
#318C78
accent
#ECC43C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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