#520F15#520F15

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

Color values

HEX#520F15
RGBrgb(82, 15, 21)
HSLhsl(355, 69%, 19%)
HSVhsv(355, 82%, 32%)
CMYKcmyk(0%, 81.7%, 74.4%, 67.8%)
CIE-LABlab(16.46, 30.87, 15.03)
CIE-LCHlch(16.46, 34.33, 25.96°)
OKLaboklab(29.18% 0.0909 0.0352)
OKLCHoklch(29.18% 0.097 21.1)
XYZxyz(3.7863, 2.1902, 0.9327)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F15 #0F524C
analogous
#520F37 #520F15 #522B0F
triadic
#520F15 #15520F #0F1552
tetradic
#520F15 #37520F #0F524C #2B0F52
square
#520F15 #37520F #0F524C #2B0F52
split-complementary
#520F15 #0F522B #0F3752
monochromatic
#1A0507 #1E0608 #520F15 #861822 #B9222F

Accessibility & contrast

On white

14.60
#520F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F15
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F15#FFFFFF#000000##FFFFFF
##520F151.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520f15;
/* rgb */ color: rgb(82, 15, 21);
/* oklch */ color: oklch(29.2% 0.097 21.1);
Tailwind
colors: {
  custom: {
    50: '#885452',
    500: '#520f15',
    950: '#000000',
  },
}
SCSS
$custom: #520f15;
$custom-light: #885452;
$custom-dark: #000000;
JSON
{
  "hex": "#520f15",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 21
  },
  "hsl": {
    "h": 354.627,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29178,
    "c": 0.09747,
    "h": 21.1
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#520F15
secondary
#318C84
accent
#ECDC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #520F15

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

Preview Lab → · Contrast checker → · Palette generator →

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