#52111D#52111D

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

Color values

HEX#52111D
RGBrgb(82, 17, 29)
HSLhsl(349, 66%, 19%)
HSVhsv(349, 79%, 32%)
CMYKcmyk(0%, 79.3%, 64.6%, 67.8%)
CIE-LABlab(16.91, 30.63, 9.92)
CIE-LCHlch(16.91, 32.19, 17.94°)
OKLaboklab(29.57% 0.092 0.0244)
OKLCHoklch(29.57% 0.095 14.9)
XYZxyz(3.9023, 2.2840, 1.3975)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52111D #115246
analogous
#52113E #52111D #522611
triadic
#52111D #1D5211 #111D52
tetradic
#52111D #3E5211 #115246 #261152
square
#52111D #3E5211 #115246 #261152
split-complementary
#52111D #115226 #113E52
monochromatic
#190509 #1F060B #52111D #851C2F #B72641

Accessibility & contrast

On white

14.42
#52111D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#52111D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52111D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52111D#FFFFFF#000000##FFFFFF
##52111D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211D
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#5A0116
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52111d;
/* rgb */ color: rgb(82, 17, 29);
/* oklch */ color: oklch(29.6% 0.095 14.9);
Tailwind
colors: {
  custom: {
    50: '#885558',
    500: '#52111d',
    950: '#000000',
  },
}
SCSS
$custom: #52111d;
$custom-light: #885558;
$custom-dark: #000000;
JSON
{
  "hex": "#52111d",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 29
  },
  "hsl": {
    "h": 348.923,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.09515,
    "h": 14.9
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#52111D
secondary
#348B7B
accent
#E9C93F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52111D

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

Preview Lab → · Contrast checker → · Palette generator →

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