#522229#522229

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

Color values

HEX#522229
RGBrgb(82, 34, 41)
HSLhsl(351, 41%, 23%)
HSVhsv(351, 59%, 32%)
CMYKcmyk(0%, 58.5%, 50%, 67.8%)
CIE-LABlab(20.43, 23.20, 6.27)
CIE-LCHlch(20.43, 24.03, 15.13°)
OKLaboklab(32.31% 0.0702 0.0161)
OKLCHoklch(32.31% 0.072 12.9)
XYZxyz(4.4522, 3.0985, 2.4610)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522229 #22524B
analogous
#522241 #522229 #523322
triadic
#522229 #295222 #222952
tetradic
#522229 #415222 #22524B #332252
square
#522229 #415222 #22524B #332252
split-complementary
#522229 #225233 #224152
monochromatic
#16090B #271013 #522229 #7D343F #A94654

Accessibility & contrast

On white

12.97
#522229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522229
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522229#FFFFFF#000000##FFFFFF
##5222291.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B29
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#591C25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522229;
/* rgb */ color: rgb(82, 34, 41);
/* oklch */ color: oklch(32.3% 0.072 12.9);
Tailwind
colors: {
  custom: {
    50: '#855f62',
    500: '#522229',
    950: '#000000',
  },
}
SCSS
$custom: #522229;
$custom-light: #855f62;
$custom-dark: #000000;
JSON
{
  "hex": "#522229",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 351.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32308,
    "c": 0.072,
    "h": 12.9
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#522229
secondary
#4A867D
accent
#D1BF57
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #522229

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

Preview Lab → · Contrast checker → · Palette generator →

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