#52180D#52180D

#52180D is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.089 H 32.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#52180D
RGBrgb(82, 24, 13)
HSLhsl(10, 73%, 19%)
HSVhsv(10, 84%, 32%)
CMYKcmyk(0%, 70.7%, 84.1%, 67.8%)
CIE-LABlab(17.81, 26.41, 21.35)
CIE-LCHlch(17.81, 33.96, 38.96°)
OKLaboklab(30.15% 0.0749 0.0483)
OKLCHoklch(30.15% 0.089 32.8)
XYZxyz(3.8794, 2.4767, 0.6545)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52180D #0D4752
analogous
#520D24 #52180D #523A0D
triadic
#52180D #0D5218 #180D52
tetradic
#52180D #24520D #0D4752 #3A0D52
square
#52180D #24520D #0D4752 #3A0D52
split-complementary
#52180D #0D523A #0D2452
monochromatic
#1A0804 #1D0905 #52180D #872715 #BC371E

Accessibility & contrast

On white

14.04
#52180D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#52180D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52180D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52180D#FFFFFF#000000##FFFFFF
##52180D1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240B
Deuteranopia (green-blind)
#37300B
Tritanopia (blue-blind)
#5B0816
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52180d;
/* rgb */ color: rgb(82, 24, 13);
/* oklch */ color: oklch(30.2% 0.089 32.8);
Tailwind
colors: {
  custom: {
    50: '#88584d',
    500: '#52180d',
    950: '#000000',
  },
}
SCSS
$custom: #52180d;
$custom-light: #88584d;
$custom-dark: #000000;
JSON
{
  "hex": "#52180d",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 13
  },
  "hsl": {
    "h": 9.565,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30155,
    "c": 0.08916,
    "h": 32.8
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#52180D
secondary
#2E7E8D
accent
#D2EF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #52180D

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

Preview Lab → · Contrast checker → · Palette generator →

#52180D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva