#50171D#50171D

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

Color values

HEX#50171D
RGBrgb(80, 23, 29)
HSLhsl(354, 55%, 20%)
HSVhsv(354, 71%, 31%)
CMYKcmyk(0%, 71.2%, 63.7%, 68.6%)
CIE-LABlab(17.50, 27.14, 10.62)
CIE-LCHlch(17.50, 29.15, 21.37°)
OKLaboklab(29.93% 0.0811 0.0261)
OKLCHoklch(29.93% 0.085 17.8)
XYZxyz(3.8368, 2.4075, 1.4248)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50171D #17504A
analogous
#501739 #50171D #502D17
triadic
#50171D #1D5017 #171D50
tetradic
#50171D #395017 #17504A #2D1750
square
#50171D #395017 #17504A #2D1750
split-complementary
#50171D #17502D #173950
monochromatic
#180709 #20090C #50171D #80252E #AF323F

Accessibility & contrast

On white

14.18
#50171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50171D
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50171D#FFFFFF#000000##FFFFFF
##50171D1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#342F1C
Tritanopia (blue-blind)
#580B1A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #50171d;
/* rgb */ color: rgb(80, 23, 29);
/* oklch */ color: oklch(29.9% 0.085 17.8);
Tailwind
colors: {
  custom: {
    50: '#855858',
    500: '#50171d',
    950: '#000000',
  },
}
SCSS
$custom: #50171d;
$custom-light: #855858;
$custom-dark: #000000;
JSON
{
  "hex": "#50171d",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 353.684,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29928,
    "c": 0.08522,
    "h": 17.8
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#50171D
secondary
#3C877F
accent
#DFCF49
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50171D

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

Preview Lab → · Contrast checker → · Palette generator →

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