#521518#521518

#521518 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 21.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#521518
RGBrgb(82, 21, 24)
HSLhsl(357, 59%, 20%)
HSVhsv(357, 74%, 32%)
CMYKcmyk(0%, 74.4%, 70.7%, 67.8%)
CIE-LABlab(17.44, 28.49, 14.16)
CIE-LCHlch(17.44, 31.82, 26.43°)
OKLaboklab(29.93% 0.0841 0.0337)
OKLCHoklch(29.93% 0.091 21.8)
XYZxyz(3.9131, 2.3967, 1.1205)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521518 #15524F
analogous
#521536 #521518 #523015
triadic
#521518 #185215 #151852
tetradic
#521518 #365215 #15524F #301552
square
#521518 #365215 #15524F #301552
split-complementary
#521518 #155230 #153652
monochromatic
#180607 #21090A #521518 #832126 #B32E35

Accessibility & contrast

On white

14.20
#521518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521518
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521518#FFFFFF#000000##FFFFFF
##5215181.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252318
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#5B0617
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521518;
/* rgb */ color: rgb(82, 21, 24);
/* oklch */ color: oklch(29.9% 0.091 21.8);
Tailwind
colors: {
  custom: {
    50: '#885754',
    500: '#521518',
    950: '#000000',
  },
}
SCSS
$custom: #521518;
$custom-light: #885754;
$custom-dark: #000000;
JSON
{
  "hex": "#521518",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 24
  },
  "hsl": {
    "h": 357.049,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29933,
    "c": 0.09055,
    "h": 21.8
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#521518
secondary
#398A86
accent
#E2DB45
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521518

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

Preview Lab → · Contrast checker → · Palette generator →

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