#52241A#52241A

#52241A is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.3% C 0.072 H 33.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#52241A
RGBrgb(82, 36, 26)
HSLhsl(11, 52%, 21%)
HSVhsv(11, 68%, 32%)
CMYKcmyk(0%, 56.1%, 68.3%, 67.8%)
CIE-LABlab(20.56, 20.54, 16.69)
CIE-LCHlch(20.56, 26.46, 39.09°)
OKLaboklab(32.3% 0.0596 0.0396)
OKLCHoklch(32.3% 0.072 33.6)
XYZxyz(4.2974, 3.1307, 1.3551)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52241A #1A4852
analogous
#521A2C #52241A #52401A
triadic
#52241A #1A5224 #241A52
tetradic
#52241A #2C521A #1A4852 #401A52
square
#52241A #2C521A #1A4852 #401A52
split-complementary
#52241A #1A5240 #1A2C52
monochromatic
#170A07 #24100B #52241A #803829 #AF4D37

Accessibility & contrast

On white

12.92
#52241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#52241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52241A
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52241A#FFFFFF#000000##FFFFFF
##52241A1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B19
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#5A1C22
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #52241a;
/* rgb */ color: rgb(82, 36, 26);
/* oklch */ color: oklch(32.3% 0.072 33.6);
Tailwind
colors: {
  custom: {
    50: '#866056',
    500: '#52241a',
    950: '#000000',
  },
}
SCSS
$custom: #52241a;
$custom-light: #866056;
$custom-dark: #000000;
JSON
{
  "hex": "#52241a",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 10.714,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32295,
    "c": 0.07152,
    "h": 33.6
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#52241A
secondary
#407B88
accent
#C2DB4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52241A

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

Preview Lab → · Contrast checker → · Palette generator →

#52241A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva