#521520#521520

#521520 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 13.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#521520
RGBrgb(82, 21, 32)
HSLhsl(349, 59%, 20%)
HSVhsv(349, 74%, 32%)
CMYKcmyk(0%, 74.4%, 61%, 67.8%)
CIE-LABlab(17.62, 29.12, 8.73)
CIE-LCHlch(17.62, 30.40, 16.68°)
OKLaboklab(30.12% 0.0877 0.0218)
OKLCHoklch(30.12% 0.09 13.9)
XYZxyz(4.0089, 2.4350, 1.6251)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521520 #155247
analogous
#52153F #521520 #522815
triadic
#521520 #205215 #152052
tetradic
#521520 #3F5215 #155247 #281552
square
#521520 #3F5215 #155247 #281552
split-complementary
#521520 #155228 #153F52
monochromatic
#18060A #21090D #521520 #832133 #B32E46

Accessibility & contrast

On white

14.12
#521520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521520
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521520#FFFFFF#000000##FFFFFF
##5215201.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521520;
/* rgb */ color: rgb(82, 21, 32);
/* oklch */ color: oklch(30.1% 0.090 13.9);
Tailwind
colors: {
  custom: {
    50: '#87575b',
    500: '#521520',
    950: '#000000',
  },
}
SCSS
$custom: #521520;
$custom-light: #87575b;
$custom-dark: #000000;
JSON
{
  "hex": "#521520",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 32
  },
  "hsl": {
    "h": 349.18,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30123,
    "c": 0.09038,
    "h": 13.9
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#521520
secondary
#398A7B
accent
#E2C645
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521520

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

Preview Lab → · Contrast checker → · Palette generator →

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