#521211#521211

#521211 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.095 H 25.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#521211
RGBrgb(82, 18, 17)
HSLhsl(1, 66%, 19%)
HSVhsv(1, 79%, 32%)
CMYKcmyk(0%, 78%, 79.3%, 67.8%)
CIE-LABlab(16.83, 29.41, 18.04)
CIE-LCHlch(16.83, 34.50, 31.52°)
OKLaboklab(29.44% 0.0853 0.0414)
OKLCHoklch(29.44% 0.095 25.9)
XYZxyz(3.7976, 2.2675, 0.7679)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521211 #115152
analogous
#521131 #521211 #523311
triadic
#521211 #115212 #121152
tetradic
#521211 #315211 #115152 #331152
square
#521211 #315211 #115152 #331152
split-complementary
#521211 #115233 #113152
monochromatic
#190605 #1F0706 #521211 #851D1C #B72826

Accessibility & contrast

On white

14.45
#521211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#521211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521211
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521211#FFFFFF#000000##FFFFFF
##5212111.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242110
Deuteranopia (green-blind)
#342F0F
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521211;
/* rgb */ color: rgb(82, 18, 17);
/* oklch */ color: oklch(29.4% 0.095 25.9);
Tailwind
colors: {
  custom: {
    50: '#89554f',
    500: '#521211',
    950: '#000000',
  },
}
SCSS
$custom: #521211;
$custom-light: #89554f;
$custom-dark: #000000;
JSON
{
  "hex": "#521211",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 17
  },
  "hsl": {
    "h": 0.923,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29437,
    "c": 0.09482,
    "h": 25.9
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#521211
secondary
#348A8B
accent
#E6E93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #521211

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

Preview Lab → · Contrast checker → · Palette generator →

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