#521516#521516

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

Color values

HEX#521516
RGBrgb(82, 21, 22)
HSLhsl(359, 59%, 20%)
HSVhsv(359, 74%, 32%)
CMYKcmyk(0%, 74.4%, 73.2%, 67.8%)
CIE-LABlab(17.41, 28.36, 15.51)
CIE-LCHlch(17.41, 32.32, 28.67°)
OKLaboklab(29.89% 0.0832 0.0364)
OKLCHoklch(29.89% 0.091 23.6)
XYZxyz(3.8931, 2.3887, 1.0150)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521516 #155251
analogous
#521535 #521516 #523215
triadic
#521516 #165215 #151652
tetradic
#521516 #355215 #155251 #321552
square
#521516 #355215 #155251 #321552
split-complementary
#521516 #155232 #153552
monochromatic
#180607 #210909 #521516 #832123 #B32E30

Accessibility & contrast

On white

14.21
#521516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521516
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521516#FFFFFF#000000##FFFFFF
##5215161.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262215
Deuteranopia (green-blind)
#353014
Tritanopia (blue-blind)
#5B0516
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521516;
/* rgb */ color: rgb(82, 21, 22);
/* oklch */ color: oklch(29.9% 0.091 23.6);
Tailwind
colors: {
  custom: {
    50: '#885753',
    500: '#521516',
    950: '#000000',
  },
}
SCSS
$custom: #521516;
$custom-light: #885753;
$custom-dark: #000000;
JSON
{
  "hex": "#521516",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 22
  },
  "hsl": {
    "h": 359.016,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29893,
    "c": 0.09078,
    "h": 23.6
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#521516
secondary
#398A88
accent
#E2E045
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521516

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

Preview Lab → · Contrast checker → · Palette generator →

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