#52180C#52180C

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

Color values

HEX#52180C
RGBrgb(82, 24, 12)
HSLhsl(10, 74%, 18%)
HSVhsv(10, 85%, 32%)
CMYKcmyk(0%, 70.7%, 85.4%, 67.8%)
CIE-LABlab(17.80, 26.36, 21.80)
CIE-LCHlch(17.80, 34.21, 39.59°)
OKLaboklab(30.14% 0.0746 0.0493)
OKLCHoklch(30.14% 0.089 33.5)
XYZxyz(3.8731, 2.4742, 0.6214)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52180C #0C4652
analogous
#520C23 #52180C #523B0C
triadic
#52180C #0C5218 #180C52
tetradic
#52180C #23520C #0C4652 #3B0C52
square
#52180C #23520C #0C4652 #3B0C52
split-complementary
#52180C #0C523B #0C2352
monochromatic
#1B0804 #1D0804 #52180C #872814 #BD371C

Accessibility & contrast

On white

14.05
#52180C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52180C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52180C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52180C#FFFFFF#000000##FFFFFF
##52180C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52180c;
/* rgb */ color: rgb(82, 24, 12);
/* oklch */ color: oklch(30.1% 0.089 33.5);
Tailwind
colors: {
  custom: {
    50: '#88584c',
    500: '#52180c',
    950: '#000000',
  },
}
SCSS
$custom: #52180c;
$custom-light: #88584c;
$custom-dark: #000000;
JSON
{
  "hex": "#52180c",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 12
  },
  "hsl": {
    "h": 10.286,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30143,
    "c": 0.08939,
    "h": 33.5
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#52180C
secondary
#2C7D8D
accent
#D1F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52180C

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

Preview Lab → · Contrast checker → · Palette generator →

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