#521116#521116

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

Color values

HEX#521116
RGBrgb(82, 17, 22)
HSLhsl(355, 66%, 19%)
HSVhsv(355, 79%, 32%)
CMYKcmyk(0%, 79.3%, 73.2%, 67.8%)
CIE-LABlab(16.76, 30.13, 14.71)
CIE-LCHlch(16.76, 33.53, 26.03°)
OKLaboklab(29.41% 0.0888 0.0346)
OKLCHoklch(29.41% 0.095 21.3)
XYZxyz(3.8254, 2.2532, 0.9924)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521116 #11524D
analogous
#521137 #521116 #522D11
triadic
#521116 #165211 #111652
tetradic
#521116 #375211 #11524D #2D1152
square
#521116 #375211 #11524D #2D1152
split-complementary
#521116 #11522D #113752
monochromatic
#190507 #1F0608 #521116 #851C24 #B72631

Accessibility & contrast

On white

14.48
#521116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521116
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521116#FFFFFF#000000##FFFFFF
##5211161.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232116
Deuteranopia (green-blind)
#342E14
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521116;
/* rgb */ color: rgb(82, 17, 22);
/* oklch */ color: oklch(29.4% 0.095 21.3);
Tailwind
colors: {
  custom: {
    50: '#885553',
    500: '#521116',
    950: '#000000',
  },
}
SCSS
$custom: #521116;
$custom-light: #885553;
$custom-dark: #000000;
JSON
{
  "hex": "#521116",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 22
  },
  "hsl": {
    "h": 355.385,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29413,
    "c": 0.09529,
    "h": 21.3
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#521116
secondary
#348B85
accent
#E9DC3F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521116

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

Preview Lab → · Contrast checker → · Palette generator →

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