#522017#522017

#522017 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.5% C 0.077 H 32.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#522017
RGBrgb(82, 32, 23)
HSLhsl(9, 56%, 21%)
HSVhsv(9, 72%, 32%)
CMYKcmyk(0%, 61%, 72%, 67.8%)
CIE-LABlab(19.59, 22.66, 17.50)
CIE-LCHlch(19.59, 28.63, 37.67°)
OKLaboklab(31.55% 0.0655 0.041)
OKLCHoklch(31.55% 0.077 32)
XYZxyz(4.1512, 2.8892, 1.1495)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522017 #174952
analogous
#52172B #522017 #523D17
triadic
#522017 #175220 #201752
tetradic
#522017 #2B5217 #174952 #3D1752
square
#522017 #2B5217 #174952 #3D1752
split-complementary
#522017 #17523D #172B52
monochromatic
#180907 #220D0A #522017 #823324 #B24532

Accessibility & contrast

On white

13.31
#522017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#522017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522017
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522017#FFFFFF#000000##FFFFFF
##5220171.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2916
Deuteranopia (green-blind)
#393416
Tritanopia (blue-blind)
#5A161E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #522017;
/* rgb */ color: rgb(82, 32, 23);
/* oklch */ color: oklch(31.5% 0.077 32.0);
Tailwind
colors: {
  custom: {
    50: '#875d54',
    500: '#522017',
    950: '#000000',
  },
}
SCSS
$custom: #522017;
$custom-light: #875d54;
$custom-dark: #000000;
JSON
{
  "hex": "#522017",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 9.153,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31546,
    "c": 0.07726,
    "h": 32
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#522017
secondary
#3C7D89
accent
#C8DF48
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #522017

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

Preview Lab → · Contrast checker → · Palette generator →

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