#52111F#52111F

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

Color values

HEX#52111F
RGBrgb(82, 17, 31)
HSLhsl(347, 66%, 19%)
HSVhsv(347, 79%, 32%)
CMYKcmyk(0%, 79.3%, 62.2%, 67.8%)
CIE-LABlab(16.96, 30.79, 8.55)
CIE-LCHlch(16.96, 31.95, 15.51°)
OKLaboklab(29.62% 0.0929 0.0213)
OKLCHoklch(29.62% 0.095 12.9)
XYZxyz(3.9278, 2.2942, 1.5321)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52111F #115244
analogous
#521140 #52111F #522411
triadic
#52111F #1F5211 #111F52
tetradic
#52111F #405211 #115244 #241152
square
#52111F #405211 #115244 #241152
split-complementary
#52111F #115224 #114052
monochromatic
#19050A #1F060C #52111F #851C32 #B72645

Accessibility & contrast

On white

14.40
#52111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52111F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52111F#FFFFFF#000000##FFFFFF
##52111F1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211F
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#5A0217
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52111f;
/* rgb */ color: rgb(82, 17, 31);
/* oklch */ color: oklch(29.6% 0.095 12.9);
Tailwind
colors: {
  custom: {
    50: '#87555a',
    500: '#52111f',
    950: '#000000',
  },
}
SCSS
$custom: #52111f;
$custom-light: #87555a;
$custom-dark: #000000;
JSON
{
  "hex": "#52111f",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 347.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29624,
    "c": 0.09529,
    "h": 12.9
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#52111F
secondary
#348B78
accent
#E9C43F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52111F

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

Preview Lab → · Contrast checker → · Palette generator →

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