#52211C#52211C

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

Color values

HEX#52211C
RGBrgb(82, 33, 28)
HSLhsl(6, 49%, 22%)
HSVhsv(6, 66%, 32%)
CMYKcmyk(0%, 59.8%, 65.9%, 67.8%)
CIE-LABlab(19.91, 22.47, 14.53)
CIE-LCHlch(19.91, 26.75, 32.88°)
OKLaboklab(31.81% 0.066 0.0349)
OKLCHoklch(31.81% 0.075 27.9)
XYZxyz(4.2335, 2.9659, 1.4479)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52211C #1C4D52
analogous
#521C32 #52211C #523C1C
triadic
#52211C #1C5221 #211C52
tetradic
#52211C #32521C #1C4D52 #3C1C52
square
#52211C #32521C #1C4D52 #3C1C52
split-complementary
#52211C #1C523C #1C3252
monochromatic
#170908 #240F0C #52211C #80332C #AD463B

Accessibility & contrast

On white

13.18
#52211C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52211C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52211C#FFFFFF#000000##FFFFFF
##52211C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52211c;
/* rgb */ color: rgb(82, 33, 28);
/* oklch */ color: oklch(31.8% 0.075 27.9);
Tailwind
colors: {
  custom: {
    50: '#875e58',
    500: '#52211c',
    950: '#000000',
  },
}
SCSS
$custom: #52211c;
$custom-light: #875e58;
$custom-dark: #000000;
JSON
{
  "hex": "#52211c",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 28
  },
  "hsl": {
    "h": 5.556,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31811,
    "c": 0.07463,
    "h": 27.9
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#52211C
secondary
#428188
accent
#CCD94F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52211C

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

Preview Lab → · Contrast checker → · Palette generator →

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