#521517#521517

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

Color values

HEX#521517
RGBrgb(82, 21, 23)
HSLhsl(358, 59%, 20%)
HSVhsv(358, 74%, 32%)
CMYKcmyk(0%, 74.4%, 72%, 67.8%)
CIE-LABlab(17.43, 28.42, 14.84)
CIE-LCHlch(17.43, 32.06, 27.56°)
OKLaboklab(29.91% 0.0836 0.035)
OKLCHoklch(29.91% 0.091 22.7)
XYZxyz(3.9029, 2.3926, 1.0667)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521517 #155250
analogous
#521535 #521517 #523215
triadic
#521517 #175215 #151752
tetradic
#521517 #355215 #155250 #321552
square
#521517 #355215 #155250 #321552
split-complementary
#521517 #155232 #153552
monochromatic
#180607 #210909 #521517 #832125 #B32E32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521517#FFFFFF#000000##FFFFFF
##5215171.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)
#262317
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#5B0516
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521517;
/* rgb */ color: rgb(82, 21, 23);
/* oklch */ color: oklch(29.9% 0.091 22.7);
Tailwind
colors: {
  custom: {
    50: '#885753',
    500: '#521517',
    950: '#000000',
  },
}
SCSS
$custom: #521517;
$custom-light: #885753;
$custom-dark: #000000;
JSON
{
  "hex": "#521517",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.033,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29913,
    "c": 0.09065,
    "h": 22.7
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#521517
secondary
#398A87
accent
#E2DD45
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521517

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

Preview Lab → · Contrast checker → · Palette generator →

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