#521220#521220

#521220 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.094 H 12.4°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#521220
RGBrgb(82, 18, 32)
HSLhsl(347, 64%, 20%)
HSVhsv(347, 78%, 32%)
CMYKcmyk(0%, 78%, 61%, 67.8%)
CIE-LABlab(17.14, 30.46, 8.07)
CIE-LCHlch(17.14, 31.51, 14.84°)
OKLaboklab(29.76% 0.092 0.0202)
OKLCHoklch(29.76% 0.094 12.4)
XYZxyz(3.9571, 2.3313, 1.6078)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521220 #125244
analogous
#521240 #521220 #522412
triadic
#521220 #205212 #122052
tetradic
#521220 #405212 #125244 #241252
square
#521220 #405212 #125244 #241252
split-complementary
#521220 #125224 #124052
monochromatic
#19060A #20070C #521220 #841D34 #B62847

Accessibility & contrast

On white

14.32
#521220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521220
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521220#FFFFFF#000000##FFFFFF
##5212201.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222220
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#5A0418
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521220;
/* rgb */ color: rgb(82, 18, 32);
/* oklch */ color: oklch(29.8% 0.094 12.4);
Tailwind
colors: {
  custom: {
    50: '#87565b',
    500: '#521220',
    950: '#000000',
  },
}
SCSS
$custom: #521220;
$custom-light: #87565b;
$custom-dark: #000000;
JSON
{
  "hex": "#521220",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 32
  },
  "hsl": {
    "h": 346.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29763,
    "c": 0.09418,
    "h": 12.4
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#521220
secondary
#358B78
accent
#E7C341
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521220

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

Preview Lab → · Contrast checker → · Palette generator →

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