#52180B#52180B

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

Color values

HEX#52180B
RGBrgb(82, 24, 11)
HSLhsl(11, 76%, 18%)
HSVhsv(11, 87%, 32%)
CMYKcmyk(0%, 70.7%, 86.6%, 67.8%)
CIE-LABlab(17.79, 26.32, 22.23)
CIE-LCHlch(17.79, 34.46, 40.19°)
OKLaboklab(30.13% 0.0742 0.0502)
OKLCHoklch(30.13% 0.09 34.1)
XYZxyz(3.8671, 2.4718, 0.5900)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52180B #0B4552
analogous
#520B21 #52180B #523B0B
triadic
#52180B #0B5218 #180B52
tetradic
#52180B #21520B #0B4552 #3B0B52
square
#52180B #21520B #0B4552 #3B0B52
split-complementary
#52180B #0B523B #0B2152
monochromatic
#1B0804 #1C0804 #52180B #882812 #BE3819

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52180B#FFFFFF#000000##FFFFFF
##52180B1.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)
#292309
Deuteranopia (green-blind)
#373009
Tritanopia (blue-blind)
#5B0815
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52180b;
/* rgb */ color: rgb(82, 24, 11);
/* oklch */ color: oklch(30.1% 0.090 34.1);
Tailwind
colors: {
  custom: {
    50: '#89584b',
    500: '#52180b',
    950: '#000000',
  },
}
SCSS
$custom: #52180b;
$custom-light: #89584b;
$custom-dark: #000000;
JSON
{
  "hex": "#52180b",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 11
  },
  "hsl": {
    "h": 10.986,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30131,
    "c": 0.08963,
    "h": 34.1
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#52180B
secondary
#2B7C8E
accent
#D0F335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52180B

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

Preview Lab → · Contrast checker → · Palette generator →

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