#522225#522225

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

Color values

HEX#522225
RGBrgb(82, 34, 37)
HSLhsl(356, 41%, 23%)
HSVhsv(356, 59%, 32%)
CMYKcmyk(0%, 58.5%, 54.9%, 67.8%)
CIE-LABlab(20.33, 22.75, 8.90)
CIE-LCHlch(20.33, 24.43, 21.37°)
OKLaboklab(32.2% 0.0683 0.0224)
OKLCHoklch(32.2% 0.072 18.2)
XYZxyz(4.3860, 3.0720, 2.1119)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522225 #22524F
analogous
#52223D #522225 #523722
triadic
#522225 #255222 #222552
tetradic
#522225 #3D5222 #22524F #372252
square
#522225 #3D5222 #22524F #372252
split-complementary
#522225 #225237 #223D52
monochromatic
#16090A #271011 #522225 #7D3439 #A9464C

Accessibility & contrast

On white

13.01
#522225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522225
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522225#FFFFFF#000000##FFFFFF
##5222251.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B25
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#5A1B23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522225;
/* rgb */ color: rgb(82, 34, 37);
/* oklch */ color: oklch(32.2% 0.072 18.2);
Tailwind
colors: {
  custom: {
    50: '#865f5f',
    500: '#522225',
    950: '#000000',
  },
}
SCSS
$custom: #522225;
$custom-light: #865f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#522225",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 37
  },
  "hsl": {
    "h": 356.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.0719,
    "h": 18.2
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#522225
secondary
#4A8682
accent
#D1CA57
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #522225

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

Preview Lab → · Contrast checker → · Palette generator →

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