#52291E#52291E

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

Color values

HEX#52291E
RGBrgb(82, 41, 30)
HSLhsl(13, 46%, 22%)
HSVhsv(13, 63%, 32%)
CMYKcmyk(0%, 50%, 63.4%, 67.8%)
CIE-LABlab(21.85, 17.83, 15.65)
CIE-LCHlch(21.85, 23.73, 41.28°)
OKLaboklab(33.3% 0.052 0.0377)
OKLCHoklch(33.3% 0.064 36)
XYZxyz(4.5073, 3.4739, 1.6612)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52291E #1E4752
analogous
#521E2D #52291E #52431E
triadic
#52291E #1E5229 #291E52
tetradic
#52291E #2D521E #1E4752 #431E52
square
#52291E #2D521E #1E4752 #431E52
split-complementary
#52291E #1E5243 #1E2D52
monochromatic
#160B08 #25130E #52291E #7F3F2E #AC563F

Accessibility & contrast

On white

12.39
#52291E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52291E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52291E#FFFFFF#000000##FFFFFF
##52291E1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#3D381D
Tritanopia (blue-blind)
#5A2226
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52291e;
/* rgb */ color: rgb(82, 41, 30);
/* oklch */ color: oklch(33.3% 0.064 36.0);
Tailwind
colors: {
  custom: {
    50: '#86635a',
    500: '#52291e',
    950: '#000000',
  },
}
SCSS
$custom: #52291e;
$custom-light: #86635a;
$custom-dark: #000000;
JSON
{
  "hex": "#52291e",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 12.692,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.06421,
    "h": 36
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#52291E
secondary
#457987
accent
#BAD652
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #52291E

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

Preview Lab → · Contrast checker → · Palette generator →

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