#521C0D#521C0D

#521C0D is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.7% C 0.085 H 36.2°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#521C0D
RGBrgb(82, 28, 13)
HSLhsl(13, 73%, 19%)
HSVhsv(13, 84%, 32%)
CMYKcmyk(0%, 65.9%, 84.1%, 67.8%)
CIE-LABlab(18.60, 24.31, 22.29)
CIE-LCHlch(18.60, 32.98, 42.52°)
OKLaboklab(30.75% 0.0684 0.0501)
OKLCHoklch(30.75% 0.085 36.2)
XYZxyz(3.9680, 2.6540, 0.6840)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521C0D #0D4352
analogous
#520D20 #521C0D #523E0D
triadic
#521C0D #0D521C #1C0D52
tetradic
#521C0D #20520D #0D4352 #3E0D52
square
#521C0D #20520D #0D4352 #3E0D52
split-complementary
#521C0D #0D523E #0D2052
monochromatic
#1A0904 #1D0A05 #521C0D #872E15 #BC401E

Accessibility & contrast

On white

13.72
#521C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521C0D
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521C0D#FFFFFF#000000##FFFFFF
##521C0D1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260B
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#5B0F19
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521c0d;
/* rgb */ color: rgb(82, 28, 13);
/* oklch */ color: oklch(30.7% 0.085 36.2);
Tailwind
colors: {
  custom: {
    50: '#885a4d',
    500: '#521c0d',
    950: '#000000',
  },
}
SCSS
$custom: #521c0d;
$custom-light: #885a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#521c0d",
  "rgb": {
    "r": 82,
    "g": 28,
    "b": 13
  },
  "hsl": {
    "h": 13.043,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30749,
    "c": 0.08481,
    "h": 36.2
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#521C0D
secondary
#2E788D
accent
#C8EF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #521C0D

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

Preview Lab → · Contrast checker → · Palette generator →

#521C0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva