#50171E#50171E

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

Color values

HEX#50171E
RGBrgb(80, 23, 30)
HSLhsl(353, 55%, 20%)
HSVhsv(353, 71%, 31%)
CMYKcmyk(0%, 71.2%, 62.5%, 68.6%)
CIE-LABlab(17.52, 27.23, 9.94)
CIE-LCHlch(17.52, 28.99, 20.06°)
OKLaboklab(29.95% 0.0816 0.0246)
OKLCHoklch(29.95% 0.085 16.8)
XYZxyz(3.8494, 2.4125, 1.4910)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50171E #175049
analogous
#50173A #50171E #502D17
triadic
#50171E #1E5017 #171E50
tetradic
#50171E #3A5017 #175049 #2D1750
square
#50171E #3A5017 #175049 #2D1750
split-complementary
#50171E #17502D #173A50
monochromatic
#180709 #20090C #50171E #802530 #AF3242

Accessibility & contrast

On white

14.17
#50171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50171E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50171E#FFFFFF#000000##FFFFFF
##50171E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#342F1D
Tritanopia (blue-blind)
#580C1A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #50171e;
/* rgb */ color: rgb(80, 23, 30);
/* oklch */ color: oklch(30.0% 0.085 16.8);
Tailwind
colors: {
  custom: {
    50: '#855859',
    500: '#50171e',
    950: '#000000',
  },
}
SCSS
$custom: #50171e;
$custom-light: #855859;
$custom-dark: #000000;
JSON
{
  "hex": "#50171e",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 352.632,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.08521,
    "h": 16.8
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#50171E
secondary
#3C877E
accent
#DFCC49
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50171E

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

Preview Lab → · Contrast checker → · Palette generator →

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