#501718#501718

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

Color values

HEX#501718
RGBrgb(80, 23, 24)
HSLhsl(359, 55%, 20%)
HSVhsv(359, 71%, 31%)
CMYKcmyk(0%, 71.2%, 70%, 68.6%)
CIE-LABlab(17.39, 26.75, 14.00)
CIE-LCHlch(17.39, 30.19, 27.63°)
OKLaboklab(29.82% 0.0788 0.0334)
OKLCHoklch(29.82% 0.086 22.9)
XYZxyz(3.7799, 2.3847, 1.1252)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501718 #17504F
analogous
#501735 #501718 #503217
triadic
#501718 #185017 #171850
tetradic
#501718 #355017 #17504F #321750
square
#501718 #355017 #17504F #321750
split-complementary
#501718 #175032 #173550
monochromatic
#180707 #20090A #501718 #802526 #AF3235

Accessibility & contrast

On white

14.22
#501718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501718
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501718#FFFFFF#000000##FFFFFF
##5017181.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501718;
/* rgb */ color: rgb(80, 23, 24);
/* oklch */ color: oklch(29.8% 0.086 22.9);
Tailwind
colors: {
  custom: {
    50: '#865854',
    500: '#501718',
    950: '#000000',
  },
}
SCSS
$custom: #501718;
$custom-light: #865854;
$custom-dark: #000000;
JSON
{
  "hex": "#501718",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 358.947,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29815,
    "c": 0.0856,
    "h": 22.9
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#501718
secondary
#3C8786
accent
#DFDC49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501718

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

Preview Lab → · Contrast checker → · Palette generator →

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