#52111C#52111C

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

Color values

HEX#52111C
RGBrgb(82, 17, 28)
HSLhsl(350, 66%, 19%)
HSVhsv(350, 79%, 32%)
CMYKcmyk(0%, 79.3%, 65.9%, 67.8%)
CIE-LABlab(16.89, 30.55, 10.60)
CIE-LCHlch(16.89, 32.34, 19.14°)
OKLaboklab(29.55% 0.0915 0.0259)
OKLCHoklch(29.55% 0.095 15.8)
XYZxyz(3.8901, 2.2791, 1.3335)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52111C #115247
analogous
#52113D #52111C #522711
triadic
#52111C #1C5211 #111C52
tetradic
#52111C #3D5211 #115247 #271152
square
#52111C #3D5211 #115247 #271152
split-complementary
#52111C #115227 #113D52
monochromatic
#190509 #1F060B #52111C #851C2D #B7263F

Accessibility & contrast

On white

14.43
#52111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52111C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52111C#FFFFFF#000000##FFFFFF
##52111C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#5B0116
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52111c;
/* rgb */ color: rgb(82, 17, 28);
/* oklch */ color: oklch(29.5% 0.095 15.8);
Tailwind
colors: {
  custom: {
    50: '#885557',
    500: '#52111c',
    950: '#000000',
  },
}
SCSS
$custom: #52111c;
$custom-light: #885557;
$custom-dark: #000000;
JSON
{
  "hex": "#52111c",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 349.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29546,
    "c": 0.09511,
    "h": 15.8
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#52111C
secondary
#348B7C
accent
#E9CC3F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52111C

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

Preview Lab → · Contrast checker → · Palette generator →

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