#521322#521322

#521322 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.093 H 10.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#521322
RGBrgb(82, 19, 34)
HSLhsl(346, 62%, 20%)
HSVhsv(346, 77%, 32%)
CMYKcmyk(0%, 76.8%, 58.5%, 67.8%)
CIE-LABlab(17.35, 30.21, 6.92)
CIE-LCHlch(17.35, 30.99, 12.90°)
OKLaboklab(29.94% 0.0915 0.0175)
OKLCHoklch(29.94% 0.093 10.8)
XYZxyz(4.0016, 2.3756, 1.7609)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521322 #135243
analogous
#521342 #521322 #522313
triadic
#521322 #225213 #132252
tetradic
#521322 #425213 #135243 #231352
square
#521322 #425213 #135243 #231352
split-complementary
#521322 #135223 #134252
monochromatic
#19060A #20070D #521322 #841F37 #B52A4B

Accessibility & contrast

On white

14.24
#521322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521322
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521322#FFFFFF#000000##FFFFFF
##5213221.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232222
Deuteranopia (green-blind)
#332F20
Tritanopia (blue-blind)
#5A0619
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521322;
/* rgb */ color: rgb(82, 19, 34);
/* oklch */ color: oklch(29.9% 0.093 10.8);
Tailwind
colors: {
  custom: {
    50: '#87565c',
    500: '#521322',
    950: '#000000',
  },
}
SCSS
$custom: #521322;
$custom-light: #87565c;
$custom-dark: #000000;
JSON
{
  "hex": "#521322",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 345.714,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29935,
    "c": 0.09317,
    "h": 10.8
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#521322
secondary
#368A76
accent
#E5BF42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521322

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

Preview Lab → · Contrast checker → · Palette generator →

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