#52261E#52261E

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

Color values

HEX#52261E
RGBrgb(82, 38, 30)
HSLhsl(9, 46%, 22%)
HSVhsv(9, 63%, 32%)
CMYKcmyk(0%, 53.7%, 63.4%, 67.8%)
CIE-LABlab(21.11, 19.67, 14.71)
CIE-LCHlch(21.11, 24.57, 36.79°)
OKLaboklab(32.74% 0.0577 0.0356)
OKLCHoklch(32.74% 0.068 31.7)
XYZxyz(4.4075, 3.2743, 1.6279)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52261E #1E4A52
analogous
#521E30 #52261E #52401E
triadic
#52261E #1E5226 #261E52
tetradic
#52261E #30521E #1E4A52 #401E52
square
#52261E #30521E #1E4A52 #401E52
split-complementary
#52261E #1E5240 #1E3052
monochromatic
#160A08 #25110E #52261E #7F3B2E #AC503F

Accessibility & contrast

On white

12.69
#52261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52261E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52261E#FFFFFF#000000##FFFFFF
##52261E1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#3C361D
Tritanopia (blue-blind)
#5A1F24
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52261e;
/* rgb */ color: rgb(82, 38, 30);
/* oklch */ color: oklch(32.7% 0.068 31.7);
Tailwind
colors: {
  custom: {
    50: '#866159',
    500: '#52261e',
    950: '#000000',
  },
}
SCSS
$custom: #52261e;
$custom-light: #866159;
$custom-dark: #000000;
JSON
{
  "hex": "#52261e",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 9.231,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32738,
    "c": 0.06774,
    "h": 31.7
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#52261E
secondary
#457D87
accent
#C2D652
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52261E

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

Preview Lab → · Contrast checker → · Palette generator →

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