#521313#521313

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

Color values

HEX#521313
RGBrgb(82, 19, 19)
HSLhsl(0, 62%, 20%)
HSVhsv(0, 77%, 32%)
CMYKcmyk(0%, 76.8%, 76.8%, 67.8%)
CIE-LABlab(17.02, 29.08, 17.06)
CIE-LCHlch(17.02, 33.72, 30.39°)
OKLaboklab(29.59% 0.0848 0.0394)
OKLCHoklch(29.59% 0.093 24.9)
XYZxyz(3.8305, 2.3072, 0.8596)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521313 #135252
analogous
#521333 #521313 #523313
triadic
#521313 #135213 #131352
tetradic
#521313 #335213 #135252 #331352
square
#521313 #335213 #135252 #331352
split-complementary
#521313 #135233 #133352
monochromatic
#190606 #200707 #521313 #841F1F #B52A2A

Accessibility & contrast

On white

14.37
#521313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521313
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521313#FFFFFF#000000##FFFFFF
##5213131.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252112
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#5B0114
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521313;
/* rgb */ color: rgb(82, 19, 19);
/* oklch */ color: oklch(29.6% 0.093 24.9);
Tailwind
colors: {
  custom: {
    50: '#885650',
    500: '#521313',
    950: '#000000',
  },
}
SCSS
$custom: #521313;
$custom-light: #885650;
$custom-dark: #000000;
JSON
{
  "hex": "#521313",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2959,
    "c": 0.09345,
    "h": 24.9
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#521313
secondary
#368A8A
accent
#E5E542
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521313

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

Preview Lab → · Contrast checker → · Palette generator →

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