#521417#521417

#521417 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.092 H 22.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#521417
RGBrgb(82, 20, 23)
HSLhsl(357, 61%, 20%)
HSVhsv(357, 76%, 32%)
CMYKcmyk(0%, 75.6%, 72%, 67.8%)
CIE-LABlab(17.26, 28.88, 14.63)
CIE-LCHlch(17.26, 32.38, 26.86°)
OKLaboklab(29.79% 0.0851 0.0346)
OKLCHoklch(29.79% 0.092 22.1)
XYZxyz(3.8849, 2.3566, 1.0607)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521417 #14524F
analogous
#521436 #521417 #523014
triadic
#521417 #175214 #141752
tetradic
#521417 #365214 #14524F #301452
square
#521417 #365214 #14524F #301452
split-complementary
#521417 #145230 #143652
monochromatic
#190607 #210809 #521417 #832025 #B42C33

Accessibility & contrast

On white

14.27
#521417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521417
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521417#FFFFFF#000000##FFFFFF
##5214171.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#352F15
Tritanopia (blue-blind)
#5B0416
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521417;
/* rgb */ color: rgb(82, 20, 23);
/* oklch */ color: oklch(29.8% 0.092 22.1);
Tailwind
colors: {
  custom: {
    50: '#885653',
    500: '#521417',
    950: '#000000',
  },
}
SCSS
$custom: #521417;
$custom-light: #885653;
$custom-dark: #000000;
JSON
{
  "hex": "#521417",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 357.097,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29787,
    "c": 0.09183,
    "h": 22.1
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#521417
secondary
#388A86
accent
#E4DC44
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521417

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

Preview Lab → · Contrast checker → · Palette generator →

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