#521020#521020

#521020 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.097 H 11.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#521020
RGBrgb(82, 16, 32)
HSLhsl(345, 67%, 19%)
HSVhsv(345, 80%, 32%)
CMYKcmyk(0%, 80.5%, 61%, 67.8%)
CIE-LABlab(16.84, 31.28, 7.66)
CIE-LCHlch(16.84, 32.21, 13.76°)
OKLaboklab(29.54% 0.0946 0.0192)
OKLCHoklch(29.54% 0.097 11.5)
XYZxyz(3.9261, 2.2693, 1.5975)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521020 #105242
analogous
#521041 #521020 #522110
triadic
#521020 #205210 #102052
tetradic
#521020 #415210 #105242 #211052
square
#521020 #415210 #105242 #211052
split-complementary
#521020 #105221 #104152
monochromatic
#1A050A #1F060C #521020 #851A34 #B82448

Accessibility & contrast

On white

14.44
#521020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#521020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521020
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521020#FFFFFF#000000##FFFFFF
##5210201.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212120
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#5A0117
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521020;
/* rgb */ color: rgb(82, 16, 32);
/* oklch */ color: oklch(29.5% 0.097 11.5);
Tailwind
colors: {
  custom: {
    50: '#87555b',
    500: '#521020',
    950: '#000000',
  },
}
SCSS
$custom: #521020;
$custom-light: #87555b;
$custom-dark: #000000;
JSON
{
  "hex": "#521020",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 345.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29543,
    "c": 0.09658,
    "h": 11.5
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#521020
secondary
#328C76
accent
#EAC03E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521020

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

Preview Lab → · Contrast checker → · Palette generator →

#521020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva