#521317#521317

#521317 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 21.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#521317
RGBrgb(82, 19, 23)
HSLhsl(356, 62%, 20%)
HSVhsv(356, 77%, 32%)
CMYKcmyk(0%, 76.8%, 72%, 67.8%)
CIE-LABlab(17.09, 29.33, 14.42)
CIE-LCHlch(17.09, 32.69, 26.18°)
OKLaboklab(29.67% 0.0865 0.0341)
OKLCHoklch(29.67% 0.093 21.5)
XYZxyz(3.8676, 2.3220, 1.0550)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521317 #13524E
analogous
#521337 #521317 #522E13
triadic
#521317 #175213 #131752
tetradic
#521317 #375213 #13524E #2E1352
square
#521317 #375213 #13524E #2E1352
split-complementary
#521317 #13522E #133752
monochromatic
#190607 #200709 #521317 #841F25 #B52A33

Accessibility & contrast

On white

14.34
#521317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521317
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521317#FFFFFF#000000##FFFFFF
##5213171.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242217
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#5B0215
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521317;
/* rgb */ color: rgb(82, 19, 23);
/* oklch */ color: oklch(29.7% 0.093 21.5);
Tailwind
colors: {
  custom: {
    50: '#885653',
    500: '#521317',
    950: '#000000',
  },
}
SCSS
$custom: #521317;
$custom-light: #885653;
$custom-dark: #000000;
JSON
{
  "hex": "#521317",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.19,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.09298,
    "h": 21.5
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#521317
secondary
#368A85
accent
#E5DB42
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521317

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

Preview Lab → · Contrast checker → · Palette generator →

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