#521722#521722

#521722 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.088 H 13.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#521722
RGBrgb(82, 23, 34)
HSLhsl(349, 56%, 21%)
HSVhsv(349, 72%, 32%)
CMYKcmyk(0%, 72%, 58.5%, 67.8%)
CIE-LABlab(18.02, 28.36, 7.85)
CIE-LCHlch(18.02, 29.42, 15.47°)
OKLaboklab(30.44% 0.0856 0.0198)
OKLCHoklch(30.44% 0.088 13)
XYZxyz(4.0752, 2.5227, 1.7854)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521722 #175247
analogous
#52173F #521722 #522A17
triadic
#521722 #225217 #172252
tetradic
#521722 #3F5217 #175247 #2A1752
square
#521722 #3F5217 #175247 #2A1752
split-complementary
#521722 #17522A #173F52
monochromatic
#18070A #220A0E #521722 #822436 #B2324A

Accessibility & contrast

On white

13.96
#521722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521722
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521722#FFFFFF#000000##FFFFFF
##5217221.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252422
Deuteranopia (green-blind)
#343121
Tritanopia (blue-blind)
#5A0C1B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521722;
/* rgb */ color: rgb(82, 23, 34);
/* oklch */ color: oklch(30.4% 0.088 13.0);
Tailwind
colors: {
  custom: {
    50: '#87585c',
    500: '#521722',
    950: '#000000',
  },
}
SCSS
$custom: #521722;
$custom-light: #87585c;
$custom-dark: #000000;
JSON
{
  "hex": "#521722",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 34
  },
  "hsl": {
    "h": 348.814,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30437,
    "c": 0.08786,
    "h": 13
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#521722
secondary
#3C897B
accent
#DFC348
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521722

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

Preview Lab → · Contrast checker → · Palette generator →

#521722 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva