#52291D#52291D

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

Color values

HEX#52291D
RGBrgb(82, 41, 29)
HSLhsl(14, 48%, 22%)
HSVhsv(14, 65%, 32%)
CMYKcmyk(0%, 50%, 64.6%, 67.8%)
CIE-LABlab(21.83, 17.74, 16.29)
CIE-LCHlch(21.83, 24.09, 42.56°)
OKLaboklab(33.28% 0.0515 0.039)
OKLCHoklch(33.28% 0.065 37.2)
XYZxyz(4.4947, 3.4689, 1.5950)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52291D #1D4652
analogous
#521D2C #52291D #52441D
triadic
#52291D #1D5229 #291D52
tetradic
#52291D #2C521D #1D4652 #441D52
square
#52291D #2C521D #1D4652 #441D52
split-complementary
#52291D #1D5244 #1D2C52
monochromatic
#170B08 #25120D #52291D #7F402D #AC563D

Accessibility & contrast

On white

12.40
#52291D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52291D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52291D#FFFFFF#000000##FFFFFF
##52291D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52291d;
/* rgb */ color: rgb(82, 41, 29);
/* oklch */ color: oklch(33.3% 0.065 37.2);
Tailwind
colors: {
  custom: {
    50: '#866359',
    500: '#52291d',
    950: '#000000',
  },
}
SCSS
$custom: #52291d;
$custom-light: #866359;
$custom-dark: #000000;
JSON
{
  "hex": "#52291d",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 29
  },
  "hsl": {
    "h": 13.585,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33282,
    "c": 0.06464,
    "h": 37.2
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#52291D
secondary
#447887
accent
#B9D750
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #52291D

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

Preview Lab → · Contrast checker → · Palette generator →

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