#52201E#52201E

#52201E is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.076 H 24.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#52201E
RGBrgb(82, 32, 30)
HSLhsl(2, 46%, 22%)
HSVhsv(2, 63%, 32%)
CMYKcmyk(0%, 61%, 63.4%, 67.8%)
CIE-LABlab(19.73, 23.21, 12.93)
CIE-LCHlch(19.73, 26.57, 29.11°)
OKLaboklab(31.69% 0.0687 0.0315)
OKLCHoklch(31.69% 0.076 24.6)
XYZxyz(4.2309, 2.9211, 1.5691)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52201E #1E5052
analogous
#521E36 #52201E #523A1E
triadic
#52201E #1E5220 #201E52
tetradic
#52201E #36521E #1E5052 #3A1E52
square
#52201E #36521E #1E5052 #3A1E52
split-complementary
#52201E #1E523A #1E3652
monochromatic
#160908 #250F0E #52201E #7F312E #AC433F

Accessibility & contrast

On white

13.26
#52201E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#52201E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52201E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52201E#FFFFFF#000000##FFFFFF
##52201E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291E
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#5A1720
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #52201e;
/* rgb */ color: rgb(82, 32, 30);
/* oklch */ color: oklch(31.7% 0.076 24.6);
Tailwind
colors: {
  custom: {
    50: '#865d59',
    500: '#52201e',
    950: '#000000',
  },
}
SCSS
$custom: #52201e;
$custom-light: #865d59;
$custom-dark: #000000;
JSON
{
  "hex": "#52201e",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 30
  },
  "hsl": {
    "h": 2.308,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.07554,
    "h": 24.6
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#52201E
secondary
#458487
accent
#D1D652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52201E

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

Preview Lab → · Contrast checker → · Palette generator →

#52201E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva