#521318#521318

#521318 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 20.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#521318
RGBrgb(82, 19, 24)
HSLhsl(355, 62%, 20%)
HSVhsv(355, 77%, 32%)
CMYKcmyk(0%, 76.8%, 70.7%, 67.8%)
CIE-LABlab(17.11, 29.40, 13.74)
CIE-LCHlch(17.11, 32.45, 25.05°)
OKLaboklab(29.69% 0.087 0.0327)
OKLCHoklch(29.69% 0.093 20.6)
XYZxyz(3.8778, 2.3261, 1.1088)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521318 #13524D
analogous
#521338 #521318 #522E13
triadic
#521318 #185213 #131852
tetradic
#521318 #385213 #13524D #2E1352
square
#521318 #385213 #13524D #2E1352
split-complementary
#521318 #13522E #133852
monochromatic
#190607 #200709 #521318 #841F27 #B52A35

Accessibility & contrast

On white

14.33
#521318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521318
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521318#FFFFFF#000000##FFFFFF
##5213181.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242218
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#5B0315
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521318;
/* rgb */ color: rgb(82, 19, 24);
/* oklch */ color: oklch(29.7% 0.093 20.6);
Tailwind
colors: {
  custom: {
    50: '#885654',
    500: '#521318',
    950: '#000000',
  },
}
SCSS
$custom: #521318;
$custom-light: #885654;
$custom-dark: #000000;
JSON
{
  "hex": "#521318",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 355.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.0929,
    "h": 20.6
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#521318
secondary
#368A84
accent
#E5D942
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521318

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

Preview Lab → · Contrast checker → · Palette generator →

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