#521819#521819

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

Color values

HEX#521819
RGBrgb(82, 24, 25)
HSLhsl(359, 55%, 21%)
HSVhsv(359, 71%, 32%)
CMYKcmyk(0%, 70.7%, 69.5%, 67.8%)
CIE-LABlab(18.00, 27.11, 14.16)
CIE-LCHlch(18.00, 30.59, 27.58°)
OKLaboklab(30.35% 0.0799 0.0338)
OKLCHoklch(30.35% 0.087 22.9)
XYZxyz(3.9822, 2.5178, 1.1958)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521819 #185251
analogous
#521836 #521819 #523418
triadic
#521819 #195218 #181952
tetradic
#521819 #365218 #185251 #341852
square
#521819 #365218 #185251 #341852
split-complementary
#521819 #185234 #183652
monochromatic
#180707 #230A0B #521819 #812627 #B13436

Accessibility & contrast

On white

13.97
#521819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521819
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521819#FFFFFF#000000##FFFFFF
##5218191.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272419
Deuteranopia (green-blind)
#363117
Tritanopia (blue-blind)
#5B0B19
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521819;
/* rgb */ color: rgb(82, 24, 25);
/* oklch */ color: oklch(30.4% 0.087 22.9);
Tailwind
colors: {
  custom: {
    50: '#875855',
    500: '#521819',
    950: '#000000',
  },
}
SCSS
$custom: #521819;
$custom-light: #875855;
$custom-dark: #000000;
JSON
{
  "hex": "#521819",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 25
  },
  "hsl": {
    "h": 358.966,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30354,
    "c": 0.08677,
    "h": 22.9
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#521819
secondary
#3D8987
accent
#DEDC4A
background
#F8F5F4
surface
#F0E9E8
border
#CBC5C4
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #521819

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

Preview Lab → · Contrast checker → · Palette generator →

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