#522A20#522A20

#522A20 is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.5% C 0.062 H 35.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#522A20
RGBrgb(82, 42, 32)
HSLhsl(12, 44%, 22%)
HSVhsv(12, 61%, 32%)
CMYKcmyk(0%, 48.8%, 61%, 67.8%)
CIE-LABlab(22.14, 17.40, 14.70)
CIE-LCHlch(22.14, 22.78, 40.19°)
OKLaboklab(33.54% 0.051 0.0357)
OKLCHoklch(33.54% 0.062 35)
XYZxyz(4.5687, 3.5545, 1.8117)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A20 #204852
analogous
#52202F #522A20 #524320
triadic
#522A20 #20522A #2A2052
tetradic
#522A20 #2F5220 #204852 #432052
square
#522A20 #2F5220 #204852 #432052
split-complementary
#522A20 #205243 #202F52
monochromatic
#160B09 #26130F #522A20 #7E4131 #AA5742

Accessibility & contrast

On white

12.27
#522A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#522A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522A20
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A20#FFFFFF#000000##FFFFFF
##522A201.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301F
Deuteranopia (green-blind)
#3E381F
Tritanopia (blue-blind)
#5A2328
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522a20;
/* rgb */ color: rgb(82, 42, 32);
/* oklch */ color: oklch(33.5% 0.062 35.0);
Tailwind
colors: {
  custom: {
    50: '#86645b',
    500: '#522a20',
    950: '#000000',
  },
}
SCSS
$custom: #522a20;
$custom-light: #86645b;
$custom-dark: #000000;
JSON
{
  "hex": "#522a20",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 12,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33536,
    "c": 0.06225,
    "h": 35
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#522A20
secondary
#477A86
accent
#BAD454
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0504
muted
#7C7A79

Preview Lab

Preview with #522A20

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

Preview Lab → · Contrast checker → · Palette generator →

#522A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva