#521316#521316

#521316 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.093 H 22.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#521316
RGBrgb(82, 19, 22)
HSLhsl(357, 62%, 20%)
HSVhsv(357, 77%, 32%)
CMYKcmyk(0%, 76.8%, 73.2%, 67.8%)
CIE-LABlab(17.08, 29.27, 15.10)
CIE-LCHlch(17.08, 32.93, 27.29°)
OKLaboklab(29.65% 0.0861 0.0355)
OKLCHoklch(29.65% 0.093 22.4)
XYZxyz(3.8578, 2.3181, 1.0032)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521316 #13524F
analogous
#521336 #521316 #523013
triadic
#521316 #165213 #131652
tetradic
#521316 #365213 #13524F #301352
square
#521316 #365213 #13524F #301352
split-complementary
#521316 #135230 #133652
monochromatic
#190607 #200709 #521316 #841F23 #B52A31

Accessibility & contrast

On white

14.35
#521316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521316
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521316#FFFFFF#000000##FFFFFF
##5213161.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242116
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#5B0215
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521316;
/* rgb */ color: rgb(82, 19, 22);
/* oklch */ color: oklch(29.6% 0.093 22.4);
Tailwind
colors: {
  custom: {
    50: '#885653',
    500: '#521316',
    950: '#000000',
  },
}
SCSS
$custom: #521316;
$custom-light: #885653;
$custom-dark: #000000;
JSON
{
  "hex": "#521316",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 22
  },
  "hsl": {
    "h": 357.143,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29645,
    "c": 0.09308,
    "h": 22.4
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#521316
secondary
#368A86
accent
#E5DE42
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521316

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

Preview Lab → · Contrast checker → · Palette generator →

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