#521811#521811

#521811 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 29.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#521811
RGBrgb(82, 24, 17)
HSLhsl(6, 66%, 19%)
HSVhsv(6, 79%, 32%)
CMYKcmyk(0%, 70.7%, 79.3%, 67.8%)
CIE-LABlab(17.86, 26.60, 19.29)
CIE-LCHlch(17.86, 32.86, 35.95°)
OKLaboklab(30.21% 0.0765 0.044)
OKLCHoklch(30.21% 0.088 29.9)
XYZxyz(3.9079, 2.4881, 0.8047)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521811 #114B52
analogous
#52112A #521811 #523911
triadic
#521811 #115218 #181152
tetradic
#521811 #2A5211 #114B52 #391152
square
#521811 #2A5211 #114B52 #391152
split-complementary
#521811 #115239 #112A52
monochromatic
#190705 #1F0906 #521811 #85271C #B73626

Accessibility & contrast

On white

14.02
#521811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521811
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521811#FFFFFF#000000##FFFFFF
##5218111.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282410
Deuteranopia (green-blind)
#37300F
Tritanopia (blue-blind)
#5B0917
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521811;
/* rgb */ color: rgb(82, 24, 17);
/* oklch */ color: oklch(30.2% 0.088 29.9);
Tailwind
colors: {
  custom: {
    50: '#88584f',
    500: '#521811',
    950: '#000000',
  },
}
SCSS
$custom: #521811;
$custom-light: #88584f;
$custom-dark: #000000;
JSON
{
  "hex": "#521811",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 17
  },
  "hsl": {
    "h": 6.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30211,
    "c": 0.08822,
    "h": 29.9
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#521811
secondary
#34828B
accent
#D6E93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521811

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

Preview Lab → · Contrast checker → · Palette generator →

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