#522212#522212

#522212 is a dark, moderate orange. Relative luminance 0.030; OKLCH L 31.8% C 0.077 H 38.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#522212
RGBrgb(82, 34, 18)
HSLhsl(15, 64%, 20%)
HSVhsv(15, 78%, 32%)
CMYKcmyk(0%, 58.5%, 78%, 67.8%)
CIE-LABlab(19.97, 21.17, 21.15)
CIE-LCHlch(19.97, 29.93, 44.97°)
OKLaboklab(31.81% 0.0599 0.048)
OKLCHoklch(31.81% 0.077 38.7)
XYZxyz(4.1613, 2.9821, 0.9286)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522212 #124252
analogous
#521222 #522212 #524212
triadic
#522212 #125222 #221252
tetradic
#522212 #225212 #124252 #421252
square
#522212 #225212 #124252 #421252
split-complementary
#522212 #125242 #122252
monochromatic
#190A06 #200D07 #522212 #84371D #B64C28

Accessibility & contrast

On white

13.15
#522212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#522212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522212
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522212#FFFFFF#000000##FFFFFF
##5222121.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A10
Deuteranopia (green-blind)
#3B3411
Tritanopia (blue-blind)
#5B181E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522212;
/* rgb */ color: rgb(82, 34, 18);
/* oklch */ color: oklch(31.8% 0.077 38.7);
Tailwind
colors: {
  custom: {
    50: '#875e50',
    500: '#522212',
    950: '#000000',
  },
}
SCSS
$custom: #522212;
$custom-light: #875e50;
$custom-dark: #000000;
JSON
{
  "hex": "#522212",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 15,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31808,
    "c": 0.07671,
    "h": 38.7
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#522212
secondary
#35758B
accent
#BDE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #522212

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

Preview Lab → · Contrast checker → · Palette generator →

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