#50171A#50171A

#50171A is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.085 H 21.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#50171A
RGBrgb(80, 23, 26)
HSLhsl(357, 55%, 20%)
HSVhsv(357, 71%, 31%)
CMYKcmyk(0%, 71.2%, 67.5%, 68.6%)
CIE-LABlab(17.43, 26.90, 12.65)
CIE-LCHlch(17.43, 29.73, 25.19°)
OKLaboklab(29.86% 0.0797 0.0305)
OKLCHoklch(29.86% 0.085 21)
XYZxyz(3.8015, 2.3934, 1.2389)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50171A #17504D
analogous
#501736 #50171A #503017
triadic
#50171A #1A5017 #171A50
tetradic
#50171A #365017 #17504D #301750
square
#50171A #365017 #17504D #301750
split-complementary
#50171A #175030 #173650
monochromatic
#180708 #20090B #50171A #802529 #AF3239

Accessibility & contrast

On white

14.20
#50171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#50171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50171A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50171A#FFFFFF#000000##FFFFFF
##50171A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#580B19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #50171a;
/* rgb */ color: rgb(80, 23, 26);
/* oklch */ color: oklch(29.9% 0.085 21.0);
Tailwind
colors: {
  custom: {
    50: '#865856',
    500: '#50171a',
    950: '#000000',
  },
}
SCSS
$custom: #50171a;
$custom-light: #865856;
$custom-dark: #000000;
JSON
{
  "hex": "#50171a",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 356.842,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29858,
    "c": 0.08538,
    "h": 21
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#50171A
secondary
#3C8783
accent
#DFD749
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50171A

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

Preview Lab → · Contrast checker → · Palette generator →

#50171A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva