#52161A#52161A

#52161A is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.089 H 20.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#52161A
RGBrgb(82, 22, 26)
HSLhsl(356, 58%, 20%)
HSVhsv(356, 73%, 32%)
CMYKcmyk(0%, 73.2%, 68.3%, 67.8%)
CIE-LABlab(17.66, 28.16, 13.03)
CIE-LCHlch(17.66, 31.03, 24.83°)
OKLaboklab(30.1% 0.0835 0.0313)
OKLCHoklch(30.1% 0.089 20.6)
XYZxyz(3.9534, 2.4428, 1.2404)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52161A #16524E
analogous
#521638 #52161A #523016
triadic
#52161A #1A5216 #161A52
tetradic
#52161A #385216 #16524E #301652
square
#52161A #385216 #16524E #301652
split-complementary
#52161A #165230 #163852
monochromatic
#180608 #22090B #52161A #822329 #B33039

Accessibility & contrast

On white

14.11
#52161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52161A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52161A#FFFFFF#000000##FFFFFF
##52161A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#353018
Tritanopia (blue-blind)
#5B0818
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52161a;
/* rgb */ color: rgb(82, 22, 26);
/* oklch */ color: oklch(30.1% 0.089 20.6);
Tailwind
colors: {
  custom: {
    50: '#875756',
    500: '#52161a',
    950: '#000000',
  },
}
SCSS
$custom: #52161a;
$custom-light: #875756;
$custom-dark: #000000;
JSON
{
  "hex": "#52161a",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 356,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30105,
    "c": 0.08916,
    "h": 20.6
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#52161A
secondary
#3A8984
accent
#E1D747
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52161A

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

Preview Lab → · Contrast checker → · Palette generator →

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