#522121#522121

#522121 is a dark, moderate red. Relative luminance 0.030; OKLCH L 31.9% C 0.074 H 22.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#522121
RGBrgb(82, 33, 33)
HSLhsl(0, 43%, 23%)
HSVhsv(0, 60%, 32%)
CMYKcmyk(0%, 59.8%, 59.8%, 67.8%)
CIE-LABlab(20.01, 22.92, 11.24)
CIE-LCHlch(20.01, 25.52, 26.12°)
OKLaboklab(31.92% 0.0683 0.0278)
OKLCHoklch(31.92% 0.074 22.1)
XYZxyz(4.2984, 2.9919, 1.7897)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522121 #215252
analogous
#522139 #522121 #523921
triadic
#522121 #215221 #212152
tetradic
#522121 #395221 #215252 #392152
square
#522121 #395221 #215252 #392152
split-complementary
#522121 #215239 #213952
monochromatic
#160909 #260F0F #522121 #7E3333 #A94444

Accessibility & contrast

On white

13.14
#522121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#522121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522121
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522121#FFFFFF#000000##FFFFFF
##5221211.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A21
Deuteranopia (green-blind)
#393420
Tritanopia (blue-blind)
#5A1921
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522121;
/* rgb */ color: rgb(82, 33, 33);
/* oklch */ color: oklch(31.9% 0.074 22.1);
Tailwind
colors: {
  custom: {
    50: '#865e5c',
    500: '#522121',
    950: '#000000',
  },
}
SCSS
$custom: #522121;
$custom-light: #865e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#522121",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31924,
    "c": 0.0737,
    "h": 22.1
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#522121
secondary
#498686
accent
#D2D255
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #522121

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

Preview Lab → · Contrast checker → · Palette generator →

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