#521716#521716

#521716 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 25.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#521716
RGBrgb(82, 23, 22)
HSLhsl(1, 58%, 20%)
HSVhsv(1, 73%, 32%)
CMYKcmyk(0%, 72%, 73.2%, 67.8%)
CIE-LABlab(17.76, 27.40, 15.94)
CIE-LCHlch(17.76, 31.70, 30.19°)
OKLaboklab(30.16% 0.0801 0.0373)
OKLCHoklch(30.16% 0.088 25)
XYZxyz(3.9313, 2.4651, 1.0277)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521716 #165152
analogous
#521633 #521716 #523516
triadic
#521716 #165217 #171652
tetradic
#521716 #335216 #165152 #351652
square
#521716 #335216 #165152 #351652
split-complementary
#521716 #165235 #163352
monochromatic
#180706 #220909 #521716 #822523 #B33230

Accessibility & contrast

On white

14.07
#521716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521716
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521716#FFFFFF#000000##FFFFFF
##5217161.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272315
Deuteranopia (green-blind)
#363014
Tritanopia (blue-blind)
#5B0817
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521716;
/* rgb */ color: rgb(82, 23, 22);
/* oklch */ color: oklch(30.2% 0.088 25.0);
Tailwind
colors: {
  custom: {
    50: '#885853',
    500: '#521716',
    950: '#000000',
  },
}
SCSS
$custom: #521716;
$custom-light: #885853;
$custom-dark: #000000;
JSON
{
  "hex": "#521716",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 22
  },
  "hsl": {
    "h": 1,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30157,
    "c": 0.08841,
    "h": 25
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#521716
secondary
#3A8889
accent
#DEE147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521716

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

Preview Lab → · Contrast checker → · Palette generator →

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