#52201F#52201F

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

Color values

HEX#52201F
RGBrgb(82, 32, 31)
HSLhsl(1, 45%, 22%)
HSVhsv(1, 62%, 32%)
CMYKcmyk(0%, 61%, 62.2%, 67.8%)
CIE-LABlab(19.75, 23.30, 12.27)
CIE-LCHlch(19.75, 26.34, 27.76°)
OKLaboklab(31.71% 0.0691 0.03)
OKLCHoklch(31.71% 0.075 23.5)
XYZxyz(4.2439, 2.9263, 1.6374)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52201F #1F5152
analogous
#521F38 #52201F #52391F
triadic
#52201F #1F5220 #201F52
tetradic
#52201F #38521F #1F5152 #391F52
square
#52201F #38521F #1F5152 #391F52
split-complementary
#52201F #1F5239 #1F3852
monochromatic
#160908 #260F0E #52201F #7E3130 #AB4341

Accessibility & contrast

On white

13.25
#52201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#52201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52201F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52201F#FFFFFF#000000##FFFFFF
##52201F1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52201f;
/* rgb */ color: rgb(82, 32, 31);
/* oklch */ color: oklch(31.7% 0.075 23.5);
Tailwind
colors: {
  custom: {
    50: '#865d5a',
    500: '#52201f',
    950: '#000000',
  },
}
SCSS
$custom: #52201f;
$custom-light: #865d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#52201f",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 1.176,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31709,
    "c": 0.07537,
    "h": 23.5
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#52201F
secondary
#468587
accent
#D2D553
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52201F

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

Preview Lab → · Contrast checker → · Palette generator →

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