#52180F#52180F

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

Color values

HEX#52180F
RGBrgb(82, 24, 15)
HSLhsl(8, 69%, 19%)
HSVhsv(8, 82%, 32%)
CMYKcmyk(0%, 70.7%, 81.7%, 67.8%)
CIE-LABlab(17.84, 26.50, 20.37)
CIE-LCHlch(17.84, 33.42, 37.55°)
OKLaboklab(30.18% 0.0757 0.0462)
OKLCHoklch(30.18% 0.089 31.4)
XYZxyz(3.8930, 2.4822, 0.7260)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52180F #0F4952
analogous
#520F28 #52180F #523A0F
triadic
#52180F #0F5218 #180F52
tetradic
#52180F #28520F #0F4952 #3A0F52
square
#52180F #28520F #0F4952 #3A0F52
split-complementary
#52180F #0F523A #0F2852
monochromatic
#1A0805 #1E0906 #52180F #862718 #B93622

Accessibility & contrast

On white

14.03
#52180F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52180F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52180F#FFFFFF#000000##FFFFFF
##52180F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240E
Deuteranopia (green-blind)
#37300D
Tritanopia (blue-blind)
#5B0916
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52180f;
/* rgb */ color: rgb(82, 24, 15);
/* oklch */ color: oklch(30.2% 0.089 31.4);
Tailwind
colors: {
  custom: {
    50: '#88584e',
    500: '#52180f',
    950: '#000000',
  },
}
SCSS
$custom: #52180f;
$custom-light: #88584e;
$custom-dark: #000000;
JSON
{
  "hex": "#52180f",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 8.06,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30181,
    "c": 0.08868,
    "h": 31.4
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#52180F
secondary
#31808C
accent
#D4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #52180F

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

Preview Lab → · Contrast checker → · Palette generator →

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