#52160C#52160C

#52160C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.092 H 32.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#52160C
RGBrgb(82, 22, 12)
HSLhsl(9, 74%, 18%)
HSVhsv(9, 85%, 32%)
CMYKcmyk(0%, 73.2%, 85.4%, 67.8%)
CIE-LABlab(17.44, 27.35, 21.36)
CIE-LCHlch(17.44, 34.70, 38.00°)
OKLaboklab(29.87% 0.0776 0.0485)
OKLCHoklch(29.87% 0.092 32)
XYZxyz(3.8334, 2.3948, 0.6081)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52160C #0C4852
analogous
#520C25 #52160C #52390C
triadic
#52160C #0C5216 #160C52
tetradic
#52160C #25520C #0C4852 #390C52
square
#52160C #25520C #0C4852 #390C52
split-complementary
#52160C #0C5239 #0C2552
monochromatic
#1B0704 #1D0804 #52160C #872414 #BD331C

Accessibility & contrast

On white

14.20
#52160C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#52160C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52160C
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52160C#FFFFFF#000000##FFFFFF
##52160C1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220A
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#5B0514
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52160c;
/* rgb */ color: rgb(82, 22, 12);
/* oklch */ color: oklch(29.9% 0.092 32.0);
Tailwind
colors: {
  custom: {
    50: '#89574c',
    500: '#52160c',
    950: '#000000',
  },
}
SCSS
$custom: #52160c;
$custom-light: #89574c;
$custom-dark: #000000;
JSON
{
  "hex": "#52160c",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 12
  },
  "hsl": {
    "h": 8.571,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29868,
    "c": 0.09153,
    "h": 32
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#52160C
secondary
#2C7F8D
accent
#D6F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52160C

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

Preview Lab → · Contrast checker → · Palette generator →

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