#52111A#52111A

#52111A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 17.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#52111A
RGBrgb(82, 17, 26)
HSLhsl(352, 66%, 19%)
HSVhsv(352, 79%, 32%)
CMYKcmyk(0%, 79.3%, 68.3%, 67.8%)
CIE-LABlab(16.84, 30.40, 11.98)
CIE-LCHlch(16.84, 32.67, 21.51°)
OKLaboklab(29.5% 0.0906 0.0289)
OKLCHoklch(29.5% 0.095 17.7)
XYZxyz(3.8670, 2.2699, 1.2116)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52111A #115249
analogous
#52113B #52111A #522911
triadic
#52111A #1A5211 #111A52
tetradic
#52111A #3B5211 #115249 #291152
square
#52111A #3B5211 #115249 #291152
split-complementary
#52111A #115229 #113B52
monochromatic
#190508 #1F060A #52111A #851C2A #B7263A

Accessibility & contrast

On white

14.44
#52111A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#52111A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52111A
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52111A#FFFFFF#000000##FFFFFF
##52111A1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211A
Deuteranopia (green-blind)
#332F18
Tritanopia (blue-blind)
#5B0015
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52111a;
/* rgb */ color: rgb(82, 17, 26);
/* oklch */ color: oklch(29.5% 0.095 17.7);
Tailwind
colors: {
  custom: {
    50: '#885556',
    500: '#52111a',
    950: '#000000',
  },
}
SCSS
$custom: #52111a;
$custom-light: #885556;
$custom-dark: #000000;
JSON
{
  "hex": "#52111a",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 26
  },
  "hsl": {
    "h": 351.692,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29499,
    "c": 0.0951,
    "h": 17.7
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#52111A
secondary
#348B7F
accent
#E9D13F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52111A

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

Preview Lab → · Contrast checker → · Palette generator →

#52111A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva