#521D0E#521D0E

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

Color values

HEX#521D0E
RGBrgb(82, 29, 14)
HSLhsl(13, 71%, 19%)
HSVhsv(13, 83%, 32%)
CMYKcmyk(0%, 64.6%, 82.9%, 67.8%)
CIE-LABlab(18.82, 23.81, 22.05)
CIE-LCHlch(18.82, 32.45, 42.80°)
OKLaboklab(30.92% 0.0671 0.0496)
OKLCHoklch(30.92% 0.083 36.5)
XYZxyz(3.9987, 2.7048, 0.7269)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521D0E #0E4352
analogous
#520E21 #521D0E #523F0E
triadic
#521D0E #0E521D #1D0E52
tetradic
#521D0E #21520E #0E4352 #3F0E52
square
#521D0E #21520E #0E4352 #3F0E52
split-complementary
#521D0E #0E523F #0E2152
monochromatic
#1A0904 #1E0B05 #521D0E #862F17 #BB4220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521D0E#FFFFFF#000000##FFFFFF
##521D0E1.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)
#2C260C
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#5B111A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521d0e;
/* rgb */ color: rgb(82, 29, 14);
/* oklch */ color: oklch(30.9% 0.083 36.5);
Tailwind
colors: {
  custom: {
    50: '#885b4d',
    500: '#521d0e',
    950: '#000000',
  },
}
SCSS
$custom: #521d0e;
$custom-light: #885b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#521d0e",
  "rgb": {
    "r": 82,
    "g": 29,
    "b": 14
  },
  "hsl": {
    "h": 13.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30919,
    "c": 0.08344,
    "h": 36.5
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#521D0E
secondary
#2F788C
accent
#C6EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #521D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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