#521813#521813

#521813 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 28.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#521813
RGBrgb(82, 24, 19)
HSLhsl(5, 62%, 20%)
HSVhsv(5, 77%, 32%)
CMYKcmyk(0%, 70.7%, 76.8%, 67.8%)
CIE-LABlab(17.89, 26.72, 18.11)
CIE-LCHlch(17.89, 32.28, 34.13°)
OKLaboklab(30.24% 0.0773 0.0416)
OKLCHoklch(30.24% 0.088 28.3)
XYZxyz(3.9243, 2.4947, 0.8908)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521813 #134D52
analogous
#52132E #521813 #523813
triadic
#521813 #135218 #181352
tetradic
#521813 #2E5213 #134D52 #381352
square
#521813 #2E5213 #134D52 #381352
split-complementary
#521813 #135238 #132E52
monochromatic
#190706 #200907 #521813 #84271F #B5352A

Accessibility & contrast

On white

14.01
#521813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521813
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521813#FFFFFF#000000##FFFFFF
##5218131.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#5B0917
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521813;
/* rgb */ color: rgb(82, 24, 19);
/* oklch */ color: oklch(30.2% 0.088 28.3);
Tailwind
colors: {
  custom: {
    50: '#885850',
    500: '#521813',
    950: '#000000',
  },
}
SCSS
$custom: #521813;
$custom-light: #885850;
$custom-dark: #000000;
JSON
{
  "hex": "#521813",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 19
  },
  "hsl": {
    "h": 4.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.08779,
    "h": 28.3
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#521813
secondary
#36848A
accent
#D9E542
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521813

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

Preview Lab → · Contrast checker → · Palette generator →

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