#521018#521018

#521018 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 19.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#521018
RGBrgb(82, 16, 24)
HSLhsl(353, 67%, 19%)
HSVhsv(353, 80%, 32%)
CMYKcmyk(0%, 80.5%, 70.7%, 67.8%)
CIE-LABlab(16.66, 30.67, 13.16)
CIE-LCHlch(16.66, 33.37, 23.23°)
OKLaboklab(29.35% 0.091 0.0314)
OKLCHoklch(29.35% 0.096 19)
XYZxyz(3.8302, 2.2309, 1.0929)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521018 #10524A
analogous
#521039 #521018 #522910
triadic
#521018 #185210 #101852
tetradic
#521018 #395210 #10524A #291052
square
#521018 #395210 #10524A #291052
split-complementary
#521018 #105229 #103952
monochromatic
#1A0507 #1F0609 #521018 #851A27 #B82436

Accessibility & contrast

On white

14.52
#521018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#521018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521018
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521018#FFFFFF#000000##FFFFFF
##5210181.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232018
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521018;
/* rgb */ color: rgb(82, 16, 24);
/* oklch */ color: oklch(29.3% 0.096 19.0);
Tailwind
colors: {
  custom: {
    50: '#885454',
    500: '#521018',
    950: '#000000',
  },
}
SCSS
$custom: #521018;
$custom-light: #885454;
$custom-dark: #000000;
JSON
{
  "hex": "#521018",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 352.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29345,
    "c": 0.09625,
    "h": 19
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#521018
secondary
#328C81
accent
#EAD53E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521018

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

Preview Lab → · Contrast checker → · Palette generator →

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