#52211A#52211A

#52211A is a dark, moderate red. Relative luminance 0.030; OKLCH L 31.8% C 0.075 H 30.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#52211A
RGBrgb(82, 33, 26)
HSLhsl(8, 52%, 21%)
HSVhsv(8, 68%, 32%)
CMYKcmyk(0%, 59.8%, 68.3%, 67.8%)
CIE-LABlab(19.87, 22.31, 15.83)
CIE-LCHlch(19.87, 27.35, 35.36°)
OKLaboklab(31.77% 0.0651 0.0377)
OKLCHoklch(31.77% 0.075 30.1)
XYZxyz(4.2104, 2.9566, 1.3261)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52211A #1A4B52
analogous
#521A2F #52211A #523D1A
triadic
#52211A #1A5221 #211A52
tetradic
#52211A #2F521A #1A4B52 #3D1A52
square
#52211A #2F521A #1A4B52 #3D1A52
split-complementary
#52211A #1A523D #1A2F52
monochromatic
#170907 #240E0B #52211A #803429 #AF4637

Accessibility & contrast

On white

13.20
#52211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#52211A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52211A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52211A#FFFFFF#000000##FFFFFF
##52211A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2919
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#5A181F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52211a;
/* rgb */ color: rgb(82, 33, 26);
/* oklch */ color: oklch(31.8% 0.075 30.1);
Tailwind
colors: {
  custom: {
    50: '#875e56',
    500: '#52211a',
    950: '#000000',
  },
}
SCSS
$custom: #52211a;
$custom-light: #875e56;
$custom-dark: #000000;
JSON
{
  "hex": "#52211a",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 7.5,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3177,
    "c": 0.07517,
    "h": 30.1
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#52211A
secondary
#407F88
accent
#C9DB4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52211A

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

Preview Lab → · Contrast checker → · Palette generator →

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