#521420#521420

#521420 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.092 H 13.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#521420
RGBrgb(82, 20, 32)
HSLhsl(348, 61%, 20%)
HSVhsv(348, 76%, 32%)
CMYKcmyk(0%, 75.6%, 61%, 67.8%)
CIE-LABlab(17.46, 29.58, 8.50)
CIE-LCHlch(17.46, 30.78, 16.03°)
OKLaboklab(30% 0.0892 0.0212)
OKLCHoklch(30% 0.092 13.4)
XYZxyz(3.9909, 2.3990, 1.6191)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521420 #145246
analogous
#52143F #521420 #522714
triadic
#521420 #205214 #142052
tetradic
#521420 #3F5214 #145246 #271452
square
#521420 #3F5214 #145246 #271452
split-complementary
#521420 #145227 #143F52
monochromatic
#19060A #21080D #521420 #832033 #B42C46

Accessibility & contrast

On white

14.19
#521420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521420
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521420#FFFFFF#000000##FFFFFF
##5214201.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242320
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#5A0719
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521420;
/* rgb */ color: rgb(82, 20, 32);
/* oklch */ color: oklch(30.0% 0.092 13.4);
Tailwind
colors: {
  custom: {
    50: '#87575b',
    500: '#521420',
    950: '#000000',
  },
}
SCSS
$custom: #521420;
$custom-light: #87575b;
$custom-dark: #000000;
JSON
{
  "hex": "#521420",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 32
  },
  "hsl": {
    "h": 348.387,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29999,
    "c": 0.09167,
    "h": 13.4
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#521420
secondary
#388A7A
accent
#E4C544
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521420

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

Preview Lab → · Contrast checker → · Palette generator →

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