#52211D#52211D

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

Color values

HEX#52211D
RGBrgb(82, 33, 29)
HSLhsl(5, 48%, 22%)
HSVhsv(5, 65%, 32%)
CMYKcmyk(0%, 59.8%, 64.6%, 67.8%)
CIE-LABlab(19.93, 22.55, 13.87)
CIE-LCHlch(19.93, 26.48, 31.59°)
OKLaboklab(31.83% 0.0664 0.0336)
OKLCHoklch(31.83% 0.074 26.8)
XYZxyz(4.2457, 2.9708, 1.5120)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52211D #1D4E52
analogous
#521D34 #52211D #523C1D
triadic
#52211D #1D5221 #211D52
tetradic
#52211D #34521D #1D4E52 #3C1D52
square
#52211D #34521D #1D4E52 #3C1D52
split-complementary
#52211D #1D523C #1D3452
monochromatic
#170908 #250F0D #52211D #7F332D #AC453D

Accessibility & contrast

On white

13.17
#52211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52211D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52211D#FFFFFF#000000##FFFFFF
##52211D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52211d;
/* rgb */ color: rgb(82, 33, 29);
/* oklch */ color: oklch(31.8% 0.074 26.8);
Tailwind
colors: {
  custom: {
    50: '#865e59',
    500: '#52211d',
    950: '#000000',
  },
}
SCSS
$custom: #52211d;
$custom-light: #865e59;
$custom-dark: #000000;
JSON
{
  "hex": "#52211d",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 4.528,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31832,
    "c": 0.0744,
    "h": 26.8
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#52211D
secondary
#448287
accent
#CDD750
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52211D

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

Preview Lab → · Contrast checker → · Palette generator →

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