#522124#522124

#522124 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.0% C 0.073 H 18.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#522124
RGBrgb(82, 33, 36)
HSLhsl(356, 43%, 23%)
HSVhsv(356, 60%, 32%)
CMYKcmyk(0%, 59.8%, 56.1%, 67.8%)
CIE-LABlab(20.08, 23.22, 9.26)
CIE-LCHlch(20.08, 25.00, 21.73°)
OKLaboklab(32% 0.0697 0.0232)
OKLCHoklch(32% 0.073 18.4)
XYZxyz(4.3423, 3.0094, 2.0209)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522124 #21524F
analogous
#52213C #522124 #523721
triadic
#522124 #245221 #212452
tetradic
#522124 #3C5221 #21524F #372152
square
#522124 #3C5221 #21524F #372152
split-complementary
#522124 #215237 #213C52
monochromatic
#16090A #260F11 #522124 #7E3337 #A9444A

Accessibility & contrast

On white

13.11
#522124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522124
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522124#FFFFFF#000000##FFFFFF
##5221241.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2A24
Deuteranopia (green-blind)
#383423
Tritanopia (blue-blind)
#5A1A22
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522124;
/* rgb */ color: rgb(82, 33, 36);
/* oklch */ color: oklch(32.0% 0.073 18.4);
Tailwind
colors: {
  custom: {
    50: '#865e5e',
    500: '#522124',
    950: '#000000',
  },
}
SCSS
$custom: #522124;
$custom-light: #865e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#522124",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 356.327,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32,
    "c": 0.07344,
    "h": 18.4
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#522124
secondary
#498682
accent
#D2CB55
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #522124

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

Preview Lab → · Contrast checker → · Palette generator →

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