#522117#522117

#522117 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.076 H 33.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#522117
RGBrgb(82, 33, 23)
HSLhsl(10, 56%, 21%)
HSVhsv(10, 72%, 32%)
CMYKcmyk(0%, 59.8%, 72%, 67.8%)
CIE-LABlab(19.82, 22.08, 17.76)
CIE-LCHlch(19.82, 28.34, 38.82°)
OKLaboklab(31.72% 0.0637 0.0415)
OKLCHoklch(31.72% 0.076 33.1)
XYZxyz(4.1786, 2.9439, 1.1586)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522117 #174852
analogous
#52172B #522117 #523E17
triadic
#522117 #175221 #211752
tetradic
#522117 #2B5217 #174852 #3E1752
square
#522117 #2B5217 #174852 #3E1752
split-complementary
#522117 #17523E #172B52
monochromatic
#180A07 #220E0A #522117 #823424 #B24732

Accessibility & contrast

On white

13.22
#522117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#522117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522117
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522117#FFFFFF#000000##FFFFFF
##5221171.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2916
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#5A171F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522117;
/* rgb */ color: rgb(82, 33, 23);
/* oklch */ color: oklch(31.7% 0.076 33.1);
Tailwind
colors: {
  custom: {
    50: '#875e54',
    500: '#522117',
    950: '#000000',
  },
}
SCSS
$custom: #522117;
$custom-light: #875e54;
$custom-dark: #000000;
JSON
{
  "hex": "#522117",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 10.169,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31715,
    "c": 0.07606,
    "h": 33.1
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#522117
secondary
#3C7C89
accent
#C6DF48
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #522117

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

Preview Lab → · Contrast checker → · Palette generator →

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