#522112#522112

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

Color values

HEX#522112
RGBrgb(82, 33, 18)
HSLhsl(14, 64%, 20%)
HSVhsv(14, 78%, 32%)
CMYKcmyk(0%, 59.8%, 78%, 67.8%)
CIE-LABlab(19.74, 21.76, 20.89)
CIE-LCHlch(19.74, 30.16, 43.84°)
OKLaboklab(31.64% 0.0616 0.0474)
OKLCHoklch(31.64% 0.078 37.6)
XYZxyz(4.1331, 2.9258, 0.9192)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522112 #124352
analogous
#521223 #522112 #524112
triadic
#522112 #125221 #211252
tetradic
#522112 #235212 #124352 #411252
square
#522112 #235212 #124352 #411252
split-complementary
#522112 #125241 #122352
monochromatic
#190A06 #200D07 #522112 #84351D #B64928

Accessibility & contrast

On white

13.25
#522112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522112
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522112#FFFFFF#000000##FFFFFF
##5221121.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#5B171E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522112;
/* rgb */ color: rgb(82, 33, 18);
/* oklch */ color: oklch(31.6% 0.078 37.6);
Tailwind
colors: {
  custom: {
    50: '#875e50',
    500: '#522112',
    950: '#000000',
  },
}
SCSS
$custom: #522112;
$custom-light: #875e50;
$custom-dark: #000000;
JSON
{
  "hex": "#522112",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 18
  },
  "hsl": {
    "h": 14.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31635,
    "c": 0.07778,
    "h": 37.6
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#522112
secondary
#35778B
accent
#C0E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #522112

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

Preview Lab → · Contrast checker → · Palette generator →

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