#52180E#52180E

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

Color values

HEX#52180E
RGBrgb(82, 24, 14)
HSLhsl(9, 71%, 19%)
HSVhsv(9, 83%, 32%)
CMYKcmyk(0%, 70.7%, 82.9%, 67.8%)
CIE-LABlab(17.83, 26.45, 20.87)
CIE-LCHlch(17.83, 33.70, 38.28°)
OKLaboklab(30.17% 0.0753 0.0473)
OKLCHoklch(30.17% 0.089 32.1)
XYZxyz(3.8860, 2.4794, 0.6893)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52180E #0E4852
analogous
#520E26 #52180E #523A0E
triadic
#52180E #0E5218 #180E52
tetradic
#52180E #26520E #0E4852 #3A0E52
square
#52180E #26520E #0E4852 #3A0E52
split-complementary
#52180E #0E523A #0E2652
monochromatic
#1A0804 #1E0905 #52180E #862717 #BB3720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52180E#FFFFFF#000000##FFFFFF
##52180E1.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)
#28240D
Deuteranopia (green-blind)
#37300C
Tritanopia (blue-blind)
#5B0816
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52180e;
/* rgb */ color: rgb(82, 24, 14);
/* oklch */ color: oklch(30.2% 0.089 32.1);
Tailwind
colors: {
  custom: {
    50: '#88584d',
    500: '#52180e',
    950: '#000000',
  },
}
SCSS
$custom: #52180e;
$custom-light: #88584d;
$custom-dark: #000000;
JSON
{
  "hex": "#52180e",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 8.824,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.08892,
    "h": 32.1
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#52180E
secondary
#2F7F8C
accent
#D3EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #52180E

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

Preview Lab → · Contrast checker → · Palette generator →

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