#522226#522226

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

Color values

HEX#522226
RGBrgb(82, 34, 38)
HSLhsl(355, 41%, 23%)
HSVhsv(355, 59%, 32%)
CMYKcmyk(0%, 58.5%, 53.7%, 67.8%)
CIE-LABlab(20.35, 22.86, 8.24)
CIE-LCHlch(20.35, 24.30, 19.83°)
OKLaboklab(32.22% 0.0688 0.0209)
OKLCHoklch(32.22% 0.072 16.9)
XYZxyz(4.4019, 3.0783, 2.1957)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522226 #22524E
analogous
#52223E #522226 #523622
triadic
#522226 #265222 #222652
tetradic
#522226 #3E5222 #22524E #362252
square
#522226 #3E5222 #22524E #362252
split-complementary
#522226 #225236 #223E52
monochromatic
#16090A #271012 #522226 #7D343A #A9464E

Accessibility & contrast

On white

13.00
#522226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#522226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522226
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522226#FFFFFF#000000##FFFFFF
##5222261.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B26
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#5A1B24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522226;
/* rgb */ color: rgb(82, 34, 38);
/* oklch */ color: oklch(32.2% 0.072 16.9);
Tailwind
colors: {
  custom: {
    50: '#865f60',
    500: '#522226',
    950: '#000000',
  },
}
SCSS
$custom: #522226;
$custom-light: #865f60;
$custom-dark: #000000;
JSON
{
  "hex": "#522226",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 355,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32222,
    "c": 0.07189,
    "h": 16.9
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#522226
secondary
#4A8681
accent
#D1C757
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #522226

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

Preview Lab → · Contrast checker → · Palette generator →

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