#501917#501917

#501917 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.083 H 25.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#501917
RGBrgb(80, 25, 23)
HSLhsl(2, 55%, 20%)
HSVhsv(2, 71%, 31%)
CMYKcmyk(0%, 68.8%, 71.2%, 68.6%)
CIE-LABlab(17.75, 25.65, 15.15)
CIE-LCHlch(17.75, 29.79, 30.56°)
OKLaboklab(30.08% 0.0752 0.0358)
OKLCHoklch(30.08% 0.083 25.5)
XYZxyz(3.8109, 2.4631, 1.0852)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501917 #174E50
analogous
#501732 #501917 #503517
triadic
#501917 #175019 #191750
tetradic
#501917 #325017 #174E50 #351750
square
#501917 #325017 #174E50 #351750
split-complementary
#501917 #175035 #173250
monochromatic
#180707 #200A09 #501917 #802825 #AF3732

Accessibility & contrast

On white

14.07
#501917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501917
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501917#FFFFFF#000000##FFFFFF
##5019171.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272416
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#580D19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #501917;
/* rgb */ color: rgb(80, 25, 23);
/* oklch */ color: oklch(30.1% 0.083 25.5);
Tailwind
colors: {
  custom: {
    50: '#865954',
    500: '#501917',
    950: '#000000',
  },
}
SCSS
$custom: #501917;
$custom-light: #865954;
$custom-dark: #000000;
JSON
{
  "hex": "#501917",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 2.105,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3008,
    "c": 0.08325,
    "h": 25.5
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#501917
secondary
#3C8487
accent
#D9DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501917

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

Preview Lab → · Contrast checker → · Palette generator →

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