#501517#501517

#501517 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.088 H 22.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#501517
RGBrgb(80, 21, 23)
HSLhsl(358, 58%, 20%)
HSVhsv(358, 74%, 31%)
CMYKcmyk(0%, 73.7%, 71.2%, 68.6%)
CIE-LABlab(17.01, 27.66, 14.22)
CIE-LCHlch(17.01, 31.10, 27.22°)
OKLaboklab(29.52% 0.0815 0.0337)
OKLCHoklch(29.52% 0.088 22.5)
XYZxyz(3.7315, 2.3042, 1.0587)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501517 #15504E
analogous
#501535 #501517 #503115
triadic
#501517 #175015 #151750
tetradic
#501517 #355015 #15504E #311550
square
#501517 #355015 #15504E #311550
split-complementary
#501517 #155031 #153550
monochromatic
#180607 #200809 #501517 #802225 #B12E33

Accessibility & contrast

On white

14.38
#501517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501517
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501517#FFFFFF#000000##FFFFFF
##5015171.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#580616
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #501517;
/* rgb */ color: rgb(80, 21, 23);
/* oklch */ color: oklch(29.5% 0.088 22.5);
Tailwind
colors: {
  custom: {
    50: '#865653',
    500: '#501517',
    950: '#000000',
  },
}
SCSS
$custom: #501517;
$custom-light: #865653;
$custom-dark: #000000;
JSON
{
  "hex": "#501517",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 357.966,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29524,
    "c": 0.08818,
    "h": 22.5
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#501517
secondary
#398885
accent
#E2DC46
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501517

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

Preview Lab → · Contrast checker → · Palette generator →

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