#520D02#520D02

#520D02 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.7% C 0.102 H 32.9°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#520D02
RGBrgb(82, 13, 2)
HSLhsl(8, 95%, 16%)
HSVhsv(8, 98%, 32%)
CMYKcmyk(0%, 84.1%, 97.6%, 67.8%)
CIE-LABlab(15.94, 30.80, 23.63)
CIE-LCHlch(15.94, 38.82, 37.49°)
OKLaboklab(28.71% 0.0859 0.0555)
OKLCHoklch(28.71% 0.102 32.9)
XYZxyz(3.6350, 2.0867, 0.2688)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D02 #024752
analogous
#52021F #520D02 #523502
triadic
#520D02 #02520D #0D0252
tetradic
#520D02 #1F5202 #024752 #350252
square
#520D02 #1F5202 #024752 #350252
split-complementary
#520D02 #025235 #021F52
monochromatic
#1E0501 #1E0501 #520D02 #8E1603 #C92005

Accessibility & contrast

On white

14.82
#520D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#520D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D02
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D02#FFFFFF#000000##FFFFFF
##520D021.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#342D00
Tritanopia (blue-blind)
#5B000B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520d02;
/* rgb */ color: rgb(82, 13, 2);
/* oklch */ color: oklch(28.7% 0.102 32.9);
Tailwind
colors: {
  custom: {
    50: '#8a5347',
    500: '#520d02',
    950: '#000000',
  },
}
SCSS
$custom: #520d02;
$custom-light: #8a5347;
$custom-dark: #000000;
JSON
{
  "hex": "#520d02",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 2
  },
  "hsl": {
    "h": 8.25,
    "s": 95.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28711,
    "c": 0.10227,
    "h": 32.9
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#520D02
secondary
#1D8293
accent
#E2FF29
background
#F9F4F4
surface
#F1E7E6
border
#CBC3C2
text
#0D0300
muted
#7E7877

Preview Lab

Preview with #520D02

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

Preview Lab → · Contrast checker → · Palette generator →

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