#521111#521111

#521111 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 25.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#521111
RGBrgb(82, 17, 17)
HSLhsl(0, 66%, 19%)
HSVhsv(0, 79%, 32%)
CMYKcmyk(0%, 79.3%, 79.3%, 67.8%)
CIE-LABlab(16.68, 29.84, 17.85)
CIE-LCHlch(16.68, 34.77, 30.89°)
OKLaboklab(29.32% 0.0866 0.0411)
OKLCHoklch(29.32% 0.096 25.4)
XYZxyz(3.7817, 2.2358, 0.7626)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521111 #115252
analogous
#521132 #521111 #523211
triadic
#521111 #115211 #111152
tetradic
#521111 #325211 #115252 #321152
square
#521111 #325211 #115252 #321152
split-complementary
#521111 #115232 #113252
monochromatic
#190505 #1F0606 #521111 #851C1C #B72626

Accessibility & contrast

On white

14.51
#521111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521111
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521111#FFFFFF#000000##FFFFFF
##5211111.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242010
Deuteranopia (green-blind)
#342E0F
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521111;
/* rgb */ color: rgb(82, 17, 17);
/* oklch */ color: oklch(29.3% 0.096 25.4);
Tailwind
colors: {
  custom: {
    50: '#89554f',
    500: '#521111',
    950: '#000000',
  },
}
SCSS
$custom: #521111;
$custom-light: #89554f;
$custom-dark: #000000;
JSON
{
  "hex": "#521111",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 17
  },
  "hsl": {
    "h": 0,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29323,
    "c": 0.09587,
    "h": 25.4
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#521111
secondary
#348B8B
accent
#E9E93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #521111

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

Preview Lab → · Contrast checker → · Palette generator →

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