#521418#521418

#521418 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.092 H 21.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#521418
RGBrgb(82, 20, 24)
HSLhsl(356, 61%, 20%)
HSVhsv(356, 76%, 32%)
CMYKcmyk(0%, 75.6%, 70.7%, 67.8%)
CIE-LABlab(17.28, 28.95, 13.95)
CIE-LCHlch(17.28, 32.14, 25.73°)
OKLaboklab(29.81% 0.0855 0.0332)
OKLCHoklch(29.81% 0.092 21.2)
XYZxyz(3.8951, 2.3607, 1.1145)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521418 #14524E
analogous
#521437 #521418 #522F14
triadic
#521418 #185214 #141852
tetradic
#521418 #375214 #14524E #2F1452
square
#521418 #375214 #14524E #2F1452
split-complementary
#521418 #14522F #143752
monochromatic
#190607 #21080A #521418 #832026 #B42C35

Accessibility & contrast

On white

14.27
#521418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521418
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521418#FFFFFF#000000##FFFFFF
##5214181.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521418;
/* rgb */ color: rgb(82, 20, 24);
/* oklch */ color: oklch(29.8% 0.092 21.2);
Tailwind
colors: {
  custom: {
    50: '#885654',
    500: '#521418',
    950: '#000000',
  },
}
SCSS
$custom: #521418;
$custom-light: #885654;
$custom-dark: #000000;
JSON
{
  "hex": "#521418",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 356.129,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.09174,
    "h": 21.2
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#521418
secondary
#388A85
accent
#E4DA44
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521418

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

Preview Lab → · Contrast checker → · Palette generator →

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