#501717#501717

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

Color values

HEX#501717
RGBrgb(80, 23, 23)
HSLhsl(0, 55%, 20%)
HSVhsv(0, 71%, 31%)
CMYKcmyk(0%, 71.2%, 71.2%, 68.6%)
CIE-LABlab(17.37, 26.68, 14.68)
CIE-LCHlch(17.37, 30.45, 28.82°)
OKLaboklab(29.79% 0.0784 0.0348)
OKLCHoklch(29.79% 0.086 23.9)
XYZxyz(3.7697, 2.3807, 1.0715)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501717 #175050
analogous
#501733 #501717 #503317
triadic
#501717 #175017 #171750
tetradic
#501717 #335017 #175050 #331750
square
#501717 #335017 #175050 #331750
split-complementary
#501717 #175033 #173350
monochromatic
#180707 #200909 #501717 #802525 #AF3232

Accessibility & contrast

On white

14.23
#501717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501717
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501717#FFFFFF#000000##FFFFFF
##5017171.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262316
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#580A18
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501717;
/* rgb */ color: rgb(80, 23, 23);
/* oklch */ color: oklch(29.8% 0.086 23.9);
Tailwind
colors: {
  custom: {
    50: '#865853',
    500: '#501717',
    950: '#000000',
  },
}
SCSS
$custom: #501717;
$custom-light: #865853;
$custom-dark: #000000;
JSON
{
  "hex": "#501717",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 0,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.08573,
    "h": 23.9
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#501717
secondary
#3C8787
accent
#DFDF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501717

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

Preview Lab → · Contrast checker → · Palette generator →

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