#52211B#52211B

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

Color values

HEX#52211B
RGBrgb(82, 33, 27)
HSLhsl(7, 50%, 21%)
HSVhsv(7, 67%, 32%)
CMYKcmyk(0%, 59.8%, 67.1%, 67.8%)
CIE-LABlab(19.89, 22.38, 15.18)
CIE-LCHlch(19.89, 27.05, 34.14°)
OKLaboklab(31.79% 0.0655 0.0363)
OKLCHoklch(31.79% 0.075 29)
XYZxyz(4.2217, 2.9612, 1.3859)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52211B #1B4C52
analogous
#521B31 #52211B #523D1B
triadic
#52211B #1B5221 #211B52
tetradic
#52211B #31521B #1B4C52 #3D1B52
square
#52211B #31521B #1B4C52 #3D1B52
split-complementary
#52211B #1B523D #1B3152
monochromatic
#170908 #240E0C #52211B #80342A #AE4639

Accessibility & contrast

On white

13.19
#52211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52211B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52211B#FFFFFF#000000##FFFFFF
##52211B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1A
Deuteranopia (green-blind)
#39341A
Tritanopia (blue-blind)
#5A1820
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52211b;
/* rgb */ color: rgb(82, 33, 27);
/* oklch */ color: oklch(31.8% 0.075 29.0);
Tailwind
colors: {
  custom: {
    50: '#875e57',
    500: '#52211b',
    950: '#000000',
  },
}
SCSS
$custom: #52211b;
$custom-light: #875e57;
$custom-dark: #000000;
JSON
{
  "hex": "#52211b",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 6.545,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3179,
    "c": 0.07489,
    "h": 29
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#52211B
secondary
#418088
accent
#CBDA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52211B

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

Preview Lab → · Contrast checker → · Palette generator →

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