#50170D#50170D

#50170D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.088 H 32.3°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#50170D
RGBrgb(80, 23, 13)
HSLhsl(9, 72%, 18%)
HSVhsv(9, 84%, 31%)
CMYKcmyk(0%, 71.2%, 83.7%, 68.6%)
CIE-LABlab(17.22, 26.09, 20.53)
CIE-LCHlch(17.22, 33.20, 38.20°)
OKLaboklab(29.63% 0.0742 0.0469)
OKLCHoklch(29.63% 0.088 32.3)
XYZxyz(3.6877, 2.3479, 0.6397)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50170D #0D4650
analogous
#500D24 #50170D #50380D
triadic
#50170D #0D5017 #170D50
tetradic
#50170D #24500D #0D4650 #380D50
square
#50170D #24500D #0D4650 #380D50
split-complementary
#50170D #0D5038 #0D2450
monochromatic
#1A0804 #1B0804 #50170D #852616 #B9351E

Accessibility & contrast

On white

14.29
#50170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#50170D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50170D
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50170D#FFFFFF#000000##FFFFFF
##50170D1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220C
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#590815
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #50170d;
/* rgb */ color: rgb(80, 23, 13);
/* oklch */ color: oklch(29.6% 0.088 32.3);
Tailwind
colors: {
  custom: {
    50: '#87574c',
    500: '#50170d',
    950: '#000000',
  },
}
SCSS
$custom: #50170d;
$custom-light: #87574c;
$custom-dark: #000000;
JSON
{
  "hex": "#50170d",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 8.955,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29629,
    "c": 0.08776,
    "h": 32.3
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#50170D
secondary
#2E7D8B
accent
#D4EF39
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #50170D

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

Preview Lab → · Contrast checker → · Palette generator →

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