#521D0D#521D0D

#521D0D is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.084 H 37.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#521D0D
RGBrgb(82, 29, 13)
HSLhsl(14, 73%, 19%)
HSVhsv(14, 84%, 32%)
CMYKcmyk(0%, 64.6%, 84.1%, 67.8%)
CIE-LABlab(18.81, 23.76, 22.53)
CIE-LCHlch(18.81, 32.75, 43.48°)
OKLaboklab(30.91% 0.0668 0.0506)
OKLCHoklch(30.91% 0.084 37.1)
XYZxyz(3.9921, 2.7022, 0.6920)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521D0D #0D4252
analogous
#520D1F #521D0D #523F0D
triadic
#521D0D #0D521D #1D0D52
tetradic
#521D0D #1F520D #0D4252 #3F0D52
square
#521D0D #1F520D #0D4252 #3F0D52
split-complementary
#521D0D #0D523F #0D1F52
monochromatic
#1A0904 #1D0A05 #521D0D #873015 #BC421E

Accessibility & contrast

On white

13.63
#521D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521D0D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521D0D#FFFFFF#000000##FFFFFF
##521D0D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260B
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#5B111A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521d0d;
/* rgb */ color: rgb(82, 29, 13);
/* oklch */ color: oklch(30.9% 0.084 37.1);
Tailwind
colors: {
  custom: {
    50: '#885b4d',
    500: '#521d0d',
    950: '#000000',
  },
}
SCSS
$custom: #521d0d;
$custom-light: #885b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#521d0d",
  "rgb": {
    "r": 82,
    "g": 29,
    "b": 13
  },
  "hsl": {
    "h": 13.913,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.08374,
    "h": 37.1
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#521D0D
secondary
#2E778D
accent
#C5EF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #521D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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