#521320#521320

#521320 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.093 H 12.9°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#521320
RGBrgb(82, 19, 32)
HSLhsl(348, 62%, 20%)
HSVhsv(348, 77%, 32%)
CMYKcmyk(0%, 76.8%, 61%, 67.8%)
CIE-LABlab(17.29, 30.03, 8.28)
CIE-LCHlch(17.29, 31.15, 15.42°)
OKLaboklab(29.88% 0.0906 0.0207)
OKLCHoklch(29.88% 0.093 12.9)
XYZxyz(3.9736, 2.3644, 1.6134)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521320 #135245
analogous
#521340 #521320 #522613
triadic
#521320 #205213 #132052
tetradic
#521320 #405213 #135245 #261352
square
#521320 #405213 #135245 #261352
split-complementary
#521320 #135226 #134052
monochromatic
#19060A #20070D #521320 #841F33 #B52A47

Accessibility & contrast

On white

14.26
#521320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521320 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521320
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521320#FFFFFF#000000##FFFFFF
##5213201.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232220
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#5A0518
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521320;
/* rgb */ color: rgb(82, 19, 32);
/* oklch */ color: oklch(29.9% 0.093 12.9);
Tailwind
colors: {
  custom: {
    50: '#87565b',
    500: '#521320',
    950: '#000000',
  },
}
SCSS
$custom: #521320;
$custom-light: #87565b;
$custom-dark: #000000;
JSON
{
  "hex": "#521320",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 32
  },
  "hsl": {
    "h": 347.619,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29879,
    "c": 0.09295,
    "h": 12.9
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#521320
secondary
#368A79
accent
#E5C442
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521320

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

Preview Lab → · Contrast checker → · Palette generator →

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