#52221D#52221D

#52221D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.0% C 0.073 H 27.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#52221D
RGBrgb(82, 34, 29)
HSLhsl(6, 48%, 22%)
HSVhsv(6, 65%, 32%)
CMYKcmyk(0%, 58.5%, 64.6%, 67.8%)
CIE-LABlab(20.15, 21.97, 14.16)
CIE-LCHlch(20.15, 26.14, 32.80°)
OKLaboklab(32% 0.0646 0.0342)
OKLCHoklch(32% 0.073 27.9)
XYZxyz(4.2738, 3.0271, 1.5214)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52221D #1D4D52
analogous
#521D33 #52221D #523D1D
triadic
#52221D #1D5222 #221D52
tetradic
#52221D #33521D #1D4D52 #3D1D52
square
#52221D #33521D #1D4D52 #3D1D52
split-complementary
#52221D #1D523D #1D3352
monochromatic
#170908 #250F0D #52221D #7F352D #AC473D

Accessibility & contrast

On white

13.08
#52221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#52221D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52221D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52221D#FFFFFF#000000##FFFFFF
##52221D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1C
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#5A1A21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52221d;
/* rgb */ color: rgb(82, 34, 29);
/* oklch */ color: oklch(32.0% 0.073 27.9);
Tailwind
colors: {
  custom: {
    50: '#865f59',
    500: '#52221d',
    950: '#000000',
  },
}
SCSS
$custom: #52221d;
$custom-light: #865f59;
$custom-dark: #000000;
JSON
{
  "hex": "#52221d",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 5.66,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.0731,
    "h": 27.9
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#52221D
secondary
#448187
accent
#CBD750
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52221D

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

Preview Lab → · Contrast checker → · Palette generator →

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