#522018#522018

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

Color values

HEX#522018
RGBrgb(82, 32, 24)
HSLhsl(8, 55%, 21%)
HSVhsv(8, 71%, 32%)
CMYKcmyk(0%, 61%, 70.7%, 67.8%)
CIE-LABlab(19.61, 22.73, 16.85)
CIE-LCHlch(19.61, 28.29, 36.55°)
OKLaboklab(31.56% 0.066 0.0397)
OKLCHoklch(31.56% 0.077 31)
XYZxyz(4.1614, 2.8933, 1.2033)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522018 #184A52
analogous
#52182D #522018 #523D18
triadic
#522018 #185220 #201852
tetradic
#522018 #2D5218 #184A52 #3D1852
square
#522018 #2D5218 #184A52 #3D1852
split-complementary
#522018 #18523D #182D52
monochromatic
#180907 #230E0A #522018 #813226 #B14534

Accessibility & contrast

On white

13.30
#522018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522018
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522018#FFFFFF#000000##FFFFFF
##5220181.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522018;
/* rgb */ color: rgb(82, 32, 24);
/* oklch */ color: oklch(31.6% 0.077 31.0);
Tailwind
colors: {
  custom: {
    50: '#875d55',
    500: '#522018',
    950: '#000000',
  },
}
SCSS
$custom: #522018;
$custom-light: #875d55;
$custom-dark: #000000;
JSON
{
  "hex": "#522018",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 8.276,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31564,
    "c": 0.07696,
    "h": 31
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#522018
secondary
#3D7E89
accent
#CADE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #522018

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

Preview Lab → · Contrast checker → · Palette generator →

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