#52261B#52261B

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

Color values

HEX#52261B
RGBrgb(82, 38, 27)
HSLhsl(12, 50%, 21%)
HSVhsv(12, 67%, 32%)
CMYKcmyk(0%, 53.7%, 67.1%, 67.8%)
CIE-LABlab(21.06, 19.42, 16.64)
CIE-LCHlch(21.06, 25.57, 40.60°)
OKLaboklab(32.68% 0.0563 0.0396)
OKLCHoklch(32.68% 0.069 35.1)
XYZxyz(4.3710, 3.2597, 1.4357)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52261B #1B4752
analogous
#521B2C #52261B #52421B
triadic
#52261B #1B5226 #261B52
tetradic
#52261B #2C521B #1B4752 #421B52
square
#52261B #2C521B #1B4752 #421B52
split-complementary
#52261B #1B5242 #1B2C52
monochromatic
#170B08 #24110C #52261B #803B2A #AE5139

Accessibility & contrast

On white

12.71
#52261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52261B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52261B#FFFFFF#000000##FFFFFF
##52261B1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52261b;
/* rgb */ color: rgb(82, 38, 27);
/* oklch */ color: oklch(32.7% 0.069 35.1);
Tailwind
colors: {
  custom: {
    50: '#866157',
    500: '#52261b',
    950: '#000000',
  },
}
SCSS
$custom: #52261b;
$custom-light: #866157;
$custom-dark: #000000;
JSON
{
  "hex": "#52261b",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 12,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32678,
    "c": 0.06882,
    "h": 35.1
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#52261B
secondary
#417A88
accent
#BEDA4E
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52261B

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

Preview Lab → · Contrast checker → · Palette generator →

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