#522221#522221

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

Color values

HEX#522221
RGBrgb(82, 34, 33)
HSLhsl(1, 43%, 23%)
HSVhsv(1, 60%, 32%)
CMYKcmyk(0%, 58.5%, 59.8%, 67.8%)
CIE-LABlab(20.24, 22.34, 11.54)
CIE-LCHlch(20.24, 25.14, 27.31°)
OKLaboklab(32.09% 0.0665 0.0285)
OKLCHoklch(32.09% 0.072 23.2)
XYZxyz(4.3266, 3.0482, 1.7991)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522221 #215152
analogous
#522139 #522221 #523A21
triadic
#522221 #215222 #222152
tetradic
#522221 #395221 #215152 #3A2152
square
#522221 #395221 #215152 #3A2152
split-complementary
#522221 #21523A #213952
monochromatic
#160909 #26100F #522221 #7E3433 #A94644

Accessibility & contrast

On white

13.05
#522221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522221
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522221#FFFFFF#000000##FFFFFF
##5222211.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B21
Deuteranopia (green-blind)
#393520
Tritanopia (blue-blind)
#5A1A22
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522221;
/* rgb */ color: rgb(82, 34, 33);
/* oklch */ color: oklch(32.1% 0.072 23.2);
Tailwind
colors: {
  custom: {
    50: '#865f5c',
    500: '#522221',
    950: '#000000',
  },
}
SCSS
$custom: #522221;
$custom-light: #865f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#522221",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 33
  },
  "hsl": {
    "h": 1.224,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32094,
    "c": 0.0723,
    "h": 23.2
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#522221
secondary
#498586
accent
#D0D255
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #522221

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

Preview Lab → · Contrast checker → · Palette generator →

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