#521017#521017

#521017 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 19.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#521017
RGBrgb(82, 16, 23)
HSLhsl(354, 67%, 19%)
HSVhsv(354, 80%, 32%)
CMYKcmyk(0%, 80.5%, 72%, 67.8%)
CIE-LABlab(16.64, 30.60, 13.85)
CIE-LCHlch(16.64, 33.59, 24.35°)
OKLaboklab(29.32% 0.0905 0.0328)
OKLCHoklch(29.32% 0.096 19.9)
XYZxyz(3.8200, 2.2269, 1.0391)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521017 #10524B
analogous
#521038 #521017 #522A10
triadic
#521017 #175210 #101752
tetradic
#521017 #385210 #10524B #2A1052
square
#521017 #385210 #10524B #2A1052
split-complementary
#521017 #10522A #103852
monochromatic
#1A0507 #1F0609 #521017 #851A25 #B82434

Accessibility & contrast

On white

14.53
#521017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#521017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521017
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521017#FFFFFF#000000##FFFFFF
##5210171.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521017;
/* rgb */ color: rgb(82, 16, 23);
/* oklch */ color: oklch(29.3% 0.096 19.9);
Tailwind
colors: {
  custom: {
    50: '#885453',
    500: '#521017',
    950: '#000000',
  },
}
SCSS
$custom: #521017;
$custom-light: #885453;
$custom-dark: #000000;
JSON
{
  "hex": "#521017",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 353.636,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29324,
    "c": 0.0963,
    "h": 19.9
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#521017
secondary
#328C82
accent
#EAD83E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521017

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

Preview Lab → · Contrast checker → · Palette generator →

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