#521617#521617

#521617 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.089 H 23.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#521617
RGBrgb(82, 22, 23)
HSLhsl(359, 58%, 20%)
HSVhsv(359, 73%, 32%)
CMYKcmyk(0%, 73.2%, 72%, 67.8%)
CIE-LABlab(17.60, 27.95, 15.05)
CIE-LCHlch(17.60, 31.74, 28.30°)
OKLaboklab(30.04% 0.0821 0.0355)
OKLCHoklch(30.04% 0.089 23.4)
XYZxyz(3.9216, 2.4301, 1.0730)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521617 #165251
analogous
#521635 #521617 #523316
triadic
#521617 #175216 #161752
tetradic
#521617 #355216 #165251 #331652
square
#521617 #355216 #165251 #331652
split-complementary
#521617 #165233 #163552
monochromatic
#180607 #220909 #521617 #822325 #B33032

Accessibility & contrast

On white

14.13
#521617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521617
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521617#FFFFFF#000000##FFFFFF
##5216171.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262317
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#5B0717
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521617;
/* rgb */ color: rgb(82, 22, 23);
/* oklch */ color: oklch(30.0% 0.089 23.4);
Tailwind
colors: {
  custom: {
    50: '#885753',
    500: '#521617',
    950: '#000000',
  },
}
SCSS
$custom: #521617;
$custom-light: #885753;
$custom-dark: #000000;
JSON
{
  "hex": "#521617",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 359,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30043,
    "c": 0.08947,
    "h": 23.4
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#521617
secondary
#3A8988
accent
#E1DE47
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521617

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

Preview Lab → · Contrast checker → · Palette generator →

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