#52291C#52291C

#52291C is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.3% C 0.065 H 38.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#52291C
RGBrgb(82, 41, 28)
HSLhsl(14, 49%, 22%)
HSVhsv(14, 66%, 32%)
CMYKcmyk(0%, 50%, 65.9%, 67.8%)
CIE-LABlab(21.81, 17.66, 16.92)
CIE-LCHlch(21.81, 24.46, 43.79°)
OKLaboklab(33.26% 0.0511 0.0403)
OKLCHoklch(33.26% 0.065 38.3)
XYZxyz(4.4826, 3.4640, 1.5309)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52291C #1C4552
analogous
#521C2A #52291C #52441C
triadic
#52291C #1C5229 #291C52
tetradic
#52291C #2A521C #1C4552 #441C52
square
#52291C #2A521C #1C4552 #441C52
split-complementary
#52291C #1C5244 #1C2A52
monochromatic
#170B08 #24120C #52291C #80402C #AD573B

Accessibility & contrast

On white

12.41
#52291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#52291C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52291C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52291C#FFFFFF#000000##FFFFFF
##52291C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1B
Deuteranopia (green-blind)
#3E381B
Tritanopia (blue-blind)
#5A2226
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52291c;
/* rgb */ color: rgb(82, 41, 28);
/* oklch */ color: oklch(33.3% 0.065 38.3);
Tailwind
colors: {
  custom: {
    50: '#866358',
    500: '#52291c',
    950: '#000000',
  },
}
SCSS
$custom: #52291c;
$custom-light: #866358;
$custom-dark: #000000;
JSON
{
  "hex": "#52291c",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 14.444,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33263,
    "c": 0.06509,
    "h": 38.3
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#52291C
secondary
#427788
accent
#B8D94F
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52291C

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

Preview Lab → · Contrast checker → · Palette generator →

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