#522118#522118

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

Color values

HEX#522118
RGBrgb(82, 33, 24)
HSLhsl(9, 55%, 21%)
HSVhsv(9, 71%, 32%)
CMYKcmyk(0%, 59.8%, 70.7%, 67.8%)
CIE-LABlab(19.83, 22.15, 17.12)
CIE-LCHlch(19.83, 28.00, 37.70°)
OKLaboklab(31.73% 0.0642 0.0403)
OKLCHoklch(31.73% 0.076 32.1)
XYZxyz(4.1888, 2.9480, 1.2124)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522118 #184952
analogous
#52182C #522118 #523E18
triadic
#522118 #185221 #211852
tetradic
#522118 #2C5218 #184952 #3E1852
square
#522118 #2C5218 #184952 #3E1852
split-complementary
#522118 #18523E #182C52
monochromatic
#180A07 #230E0A #522118 #813426 #B14734

Accessibility & contrast

On white

13.21
#522118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522118
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522118#FFFFFF#000000##FFFFFF
##5221181.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2917
Deuteranopia (green-blind)
#3A3417
Tritanopia (blue-blind)
#5A181F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522118;
/* rgb */ color: rgb(82, 33, 24);
/* oklch */ color: oklch(31.7% 0.076 32.1);
Tailwind
colors: {
  custom: {
    50: '#875e55',
    500: '#522118',
    950: '#000000',
  },
}
SCSS
$custom: #522118;
$custom-light: #875e55;
$custom-dark: #000000;
JSON
{
  "hex": "#522118",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 9.31,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31733,
    "c": 0.07575,
    "h": 32.1
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#522118
secondary
#3D7D89
accent
#C7DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #522118

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

Preview Lab → · Contrast checker → · Palette generator →

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