#52111B#52111B

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

Color values

HEX#52111B
RGBrgb(82, 17, 27)
HSLhsl(351, 66%, 19%)
HSVhsv(351, 79%, 32%)
CMYKcmyk(0%, 79.3%, 67.1%, 67.8%)
CIE-LABlab(16.87, 30.47, 11.29)
CIE-LCHlch(16.87, 32.50, 20.33°)
OKLaboklab(29.52% 0.0911 0.0274)
OKLCHoklch(29.52% 0.095 16.8)
XYZxyz(3.8783, 2.2744, 1.2715)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52111B #115248
analogous
#52113C #52111B #522811
triadic
#52111B #1B5211 #111B52
tetradic
#52111B #3C5211 #115248 #281152
square
#52111B #3C5211 #115248 #281152
split-complementary
#52111B #115228 #113C52
monochromatic
#190508 #1F060A #52111B #851C2C #B7263C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52111B#FFFFFF#000000##FFFFFF
##52111B1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#332F19
Tritanopia (blue-blind)
#5B0115
Achromatopsia (no color)
#2A2A2A

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#52111B
secondary
#348B7E
accent
#E9CF3F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52111B

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

Preview Lab → · Contrast checker → · Palette generator →

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