#521513#521513

#521513 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.091 H 26.2°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#521513
RGBrgb(82, 21, 19)
HSLhsl(2, 62%, 20%)
HSVhsv(2, 77%, 32%)
CMYKcmyk(0%, 74.4%, 76.8%, 67.8%)
CIE-LABlab(17.36, 28.17, 17.46)
CIE-LCHlch(17.36, 33.15, 31.79°)
OKLaboklab(29.84% 0.0819 0.0403)
OKLCHoklch(29.84% 0.091 26.2)
XYZxyz(3.8658, 2.3777, 0.8714)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521513 #135052
analogous
#521330 #521513 #523513
triadic
#521513 #135215 #151352
tetradic
#521513 #305213 #135052 #351352
square
#521513 #305213 #135052 #351352
split-complementary
#521513 #135235 #133052
monochromatic
#190606 #200807 #521513 #84221F #B52E2A

Accessibility & contrast

On white

14.23
#521513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521513
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521513#FFFFFF#000000##FFFFFF
##5215131.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262212
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#5B0415
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521513;
/* rgb */ color: rgb(82, 21, 19);
/* oklch */ color: oklch(29.8% 0.091 26.2);
Tailwind
colors: {
  custom: {
    50: '#885750',
    500: '#521513',
    950: '#000000',
  },
}
SCSS
$custom: #521513;
$custom-light: #885750;
$custom-dark: #000000;
JSON
{
  "hex": "#521513",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 19
  },
  "hsl": {
    "h": 1.905,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29839,
    "c": 0.09123,
    "h": 26.2
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#521513
secondary
#36888A
accent
#E0E542
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521513

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

Preview Lab → · Contrast checker → · Palette generator →

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