#522220#522220

#522220 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.072 H 24.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#522220
RGBrgb(82, 34, 32)
HSLhsl(2, 44%, 22%)
HSVhsv(2, 61%, 32%)
CMYKcmyk(0%, 58.5%, 61%, 67.8%)
CIE-LABlab(20.21, 22.24, 12.19)
CIE-LCHlch(20.21, 25.37, 28.73°)
OKLaboklab(32.07% 0.066 0.0299)
OKLCHoklch(32.07% 0.072 24.4)
XYZxyz(4.3128, 3.0427, 1.7264)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522220 #205052
analogous
#522037 #522220 #523B20
triadic
#522220 #205222 #222052
tetradic
#522220 #375220 #205052 #3B2052
square
#522220 #375220 #205052 #3B2052
split-complementary
#522220 #20523B #203752
monochromatic
#160909 #26100F #522220 #7E3431 #AA4742

Accessibility & contrast

On white

13.06
#522220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#522220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522220
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522220#FFFFFF#000000##FFFFFF
##5222201.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B20
Deuteranopia (green-blind)
#39351F
Tritanopia (blue-blind)
#5A1A22
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522220;
/* rgb */ color: rgb(82, 34, 32);
/* oklch */ color: oklch(32.1% 0.072 24.4);
Tailwind
colors: {
  custom: {
    50: '#865f5b',
    500: '#522220',
    950: '#000000',
  },
}
SCSS
$custom: #522220;
$custom-light: #865f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#522220",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 32
  },
  "hsl": {
    "h": 2.4,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.07246,
    "h": 24.4
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#522220
secondary
#478486
accent
#CFD454
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #522220

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

Preview Lab → · Contrast checker → · Palette generator →

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