#522222#522222

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

Color values

HEX#522222
RGBrgb(82, 34, 34)
HSLhsl(0, 41%, 23%)
HSVhsv(0, 59%, 32%)
CMYKcmyk(0%, 58.5%, 58.5%, 67.8%)
CIE-LABlab(20.26, 22.44, 10.88)
CIE-LCHlch(20.26, 24.93, 25.87°)
OKLaboklab(32.12% 0.0669 0.027)
OKLCHoklch(32.12% 0.072 22)
XYZxyz(4.3408, 3.0539, 1.8739)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522222 #225252
analogous
#52223A #522222 #523A22
triadic
#522222 #225222 #222252
tetradic
#522222 #3A5222 #225252 #3A2252
square
#522222 #3A5222 #225252 #3A2252
split-complementary
#522222 #22523A #223A52
monochromatic
#160909 #271010 #522222 #7D3434 #A94646

Accessibility & contrast

On white

13.04
#522222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522222
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522222#FFFFFF#000000##FFFFFF
##5222221.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522222;
/* rgb */ color: rgb(82, 34, 34);
/* oklch */ color: oklch(32.1% 0.072 22.0);
Tailwind
colors: {
  custom: {
    50: '#865f5c',
    500: '#522222',
    950: '#000000',
  },
}
SCSS
$custom: #522222;
$custom-light: #865f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#522222",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.07215,
    "h": 22
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#522222
secondary
#4A8686
accent
#D1D157
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #522222

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

Preview Lab → · Contrast checker → · Palette generator →

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