#522B28#522B28

#522B28 is a dark, muted red. Relative luminance 0.037; OKLCH L 33.9% C 0.058 H 25.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#522B28
RGBrgb(82, 43, 40)
HSLhsl(4, 34%, 24%)
HSVhsv(4, 51%, 32%)
CMYKcmyk(0%, 47.6%, 51.2%, 67.8%)
CIE-LABlab(22.57, 17.63, 9.90)
CIE-LCHlch(22.57, 20.22, 29.31°)
OKLaboklab(33.92% 0.0528 0.0249)
OKLCHoklch(33.92% 0.058 25.2)
XYZxyz(4.7268, 3.6752, 2.4675)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B28 #284F52
analogous
#52283A #522B28 #524028
triadic
#522B28 #28522B #2B2852
tetradic
#522B28 #3A5228 #284F52 #402852
square
#522B28 #3A5228 #284F52 #402852
split-complementary
#522B28 #285240 #283A52
monochromatic
#150B0A #291514 #522B28 #7B413C #A45650

Accessibility & contrast

On white

12.10
#522B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#522B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B28
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B28#FFFFFF#000000##FFFFFF
##522B281.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343128
Deuteranopia (green-blind)
#3D3927
Tritanopia (blue-blind)
#59262A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522b28;
/* rgb */ color: rgb(82, 43, 40);
/* oklch */ color: oklch(33.9% 0.058 25.2);
Tailwind
colors: {
  custom: {
    50: '#856561',
    500: '#522b28',
    950: '#000000',
  },
}
SCSS
$custom: #522b28;
$custom-light: #856561;
$custom-dark: #000000;
JSON
{
  "hex": "#522b28",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 40
  },
  "hsl": {
    "h": 4.286,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33919,
    "c": 0.05841,
    "h": 25.2
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#522B28
secondary
#518185
accent
#C3CB5D
background
#F8F6F5
surface
#EFEBE9
border
#CAC6C5
text
#0B0505
muted
#7C7A79

Preview Lab

Preview with #522B28

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

Preview Lab → · Contrast checker → · Palette generator →

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