#52261A#52261A

#52261A is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.7% C 0.069 H 36.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#52261A
RGBrgb(82, 38, 26)
HSLhsl(13, 52%, 21%)
HSVhsv(13, 68%, 32%)
CMYKcmyk(0%, 53.7%, 68.3%, 67.8%)
CIE-LABlab(21.04, 19.33, 17.28)
CIE-LCHlch(21.04, 25.93, 41.78°)
OKLaboklab(32.66% 0.0559 0.0409)
OKLCHoklch(32.66% 0.069 36.2)
XYZxyz(4.3596, 3.2551, 1.3758)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52261A #1A4652
analogous
#521A2A #52261A #52421A
triadic
#52261A #1A5226 #261A52
tetradic
#52261A #2A521A #1A4652 #421A52
square
#52261A #2A521A #1A4652 #421A52
split-complementary
#52261A #1A5242 #1A2A52
monochromatic
#170B07 #24100B #52261A #803C29 #AF5137

Accessibility & contrast

On white

12.72
#52261A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#52261A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52261A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52261A#FFFFFF#000000##FFFFFF
##52261A1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D19
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#5A1E23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52261a;
/* rgb */ color: rgb(82, 38, 26);
/* oklch */ color: oklch(32.7% 0.069 36.2);
Tailwind
colors: {
  custom: {
    50: '#866156',
    500: '#52261a',
    950: '#000000',
  },
}
SCSS
$custom: #52261a;
$custom-light: #866156;
$custom-dark: #000000;
JSON
{
  "hex": "#52261a",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 26
  },
  "hsl": {
    "h": 12.857,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.06922,
    "h": 36.2
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#52261A
secondary
#407988
accent
#BDDB4C
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52261A

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

Preview Lab → · Contrast checker → · Palette generator →

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