#52291F#52291F

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

Color values

HEX#52291F
RGBrgb(82, 41, 31)
HSLhsl(12, 45%, 22%)
HSVhsv(12, 62%, 32%)
CMYKcmyk(0%, 50%, 62.2%, 67.8%)
CIE-LABlab(21.87, 17.93, 15.02)
CIE-LCHlch(21.87, 23.38, 39.95°)
OKLaboklab(33.32% 0.0524 0.0363)
OKLCHoklch(33.32% 0.064 34.7)
XYZxyz(4.5203, 3.4791, 1.7295)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52291F #1F4852
analogous
#521F2E #52291F #52431F
triadic
#52291F #1F5229 #291F52
tetradic
#52291F #2E521F #1F4852 #431F52
square
#52291F #2E521F #1F4852 #431F52
split-complementary
#52291F #1F5243 #1F2E52
monochromatic
#160B08 #26130E #52291F #7E3F30 #AB5541

Accessibility & contrast

On white

12.38
#52291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#52291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52291F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52291F#FFFFFF#000000##FFFFFF
##52291F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3D381E
Tritanopia (blue-blind)
#5A2227
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52291f;
/* rgb */ color: rgb(82, 41, 31);
/* oklch */ color: oklch(33.3% 0.064 34.7);
Tailwind
colors: {
  custom: {
    50: '#86635a',
    500: '#52291f',
    950: '#000000',
  },
}
SCSS
$custom: #52291f;
$custom-light: #86635a;
$custom-dark: #000000;
JSON
{
  "hex": "#52291f",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 11.765,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.0638,
    "h": 34.7
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#52291F
secondary
#467A87
accent
#BBD553
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0B0504
muted
#7C7979

Preview Lab

Preview with #52291F

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

Preview Lab → · Contrast checker → · Palette generator →

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