#521112#521112

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

Color values

HEX#521112
RGBrgb(82, 17, 18)
HSLhsl(359, 66%, 19%)
HSVhsv(359, 79%, 32%)
CMYKcmyk(0%, 79.3%, 78%, 67.8%)
CIE-LABlab(16.69, 29.89, 17.27)
CIE-LCHlch(16.69, 34.52, 30.02°)
OKLaboklab(29.34% 0.0871 0.0398)
OKLCHoklch(29.34% 0.096 24.6)
XYZxyz(3.7897, 2.2390, 0.8048)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521112 #115251
analogous
#521133 #521112 #523111
triadic
#521112 #125211 #111252
tetradic
#521112 #335211 #115251 #311152
square
#521112 #335211 #115251 #311152
split-complementary
#521112 #115231 #113352
monochromatic
#190506 #1F0607 #521112 #851C1D #B72628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521112#FFFFFF#000000##FFFFFF
##5211121.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)
#242011
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521112;
/* rgb */ color: rgb(82, 17, 18);
/* oklch */ color: oklch(29.3% 0.096 24.6);
Tailwind
colors: {
  custom: {
    50: '#89554f',
    500: '#521112',
    950: '#000000',
  },
}
SCSS
$custom: #521112;
$custom-light: #89554f;
$custom-dark: #000000;
JSON
{
  "hex": "#521112",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 18
  },
  "hsl": {
    "h": 359.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29339,
    "c": 0.09573,
    "h": 24.6
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#521112
secondary
#348B8A
accent
#E9E63F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #521112

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

Preview Lab → · Contrast checker → · Palette generator →

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