#52160F#52160F

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

Color values

HEX#52160F
RGBrgb(82, 22, 15)
HSLhsl(6, 69%, 19%)
HSVhsv(6, 82%, 32%)
CMYKcmyk(0%, 73.2%, 81.7%, 67.8%)
CIE-LABlab(17.47, 27.48, 19.93)
CIE-LCHlch(17.47, 33.95, 35.95°)
OKLaboklab(29.91% 0.0788 0.0454)
OKLCHoklch(29.91% 0.091 29.9)
XYZxyz(3.8532, 2.4027, 0.7127)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52160F #0F4B52
analogous
#520F2A #52160F #52380F
triadic
#52160F #0F5216 #160F52
tetradic
#52160F #2A520F #0F4B52 #380F52
square
#52160F #2A520F #0F4B52 #380F52
split-complementary
#52160F #0F5238 #0F2A52
monochromatic
#1A0705 #1E0806 #52160F #862418 #B93222

Accessibility & contrast

On white

14.19
#52160F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52160F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52160F#FFFFFF#000000##FFFFFF
##52160F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230E
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#5B0515
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52160f;
/* rgb */ color: rgb(82, 22, 15);
/* oklch */ color: oklch(29.9% 0.091 29.9);
Tailwind
colors: {
  custom: {
    50: '#88574e',
    500: '#52160f',
    950: '#000000',
  },
}
SCSS
$custom: #52160f;
$custom-light: #88574e;
$custom-dark: #000000;
JSON
{
  "hex": "#52160f",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 15
  },
  "hsl": {
    "h": 6.269,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.09088,
    "h": 29.9
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#52160F
secondary
#31838C
accent
#DAEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #52160F

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

Preview Lab → · Contrast checker → · Palette generator →

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