#50170B#50170B

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

Color values

HEX#50170B
RGBrgb(80, 23, 11)
HSLhsl(10, 76%, 18%)
HSVhsv(10, 86%, 31%)
CMYKcmyk(0%, 71.2%, 86.3%, 68.6%)
CIE-LABlab(17.19, 26.01, 21.42)
CIE-LCHlch(17.19, 33.69, 39.47°)
OKLaboklab(29.6% 0.0735 0.0488)
OKLCHoklch(29.6% 0.088 33.6)
XYZxyz(3.6755, 2.3430, 0.5752)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50170B #0B4450
analogous
#500B21 #50170B #50390B
triadic
#50170B #0B5017 #170B50
tetradic
#50170B #21500B #0B4450 #390B50
square
#50170B #21500B #0B4450 #390B50
split-complementary
#50170B #0B5039 #0B2150
monochromatic
#1B0804 #1B0804 #50170B #862612 #BC361A

Accessibility & contrast

On white

14.30
#50170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50170B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50170B#FFFFFF#000000##FFFFFF
##50170B1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#590715
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #50170b;
/* rgb */ color: rgb(80, 23, 11);
/* oklch */ color: oklch(29.6% 0.088 33.6);
Tailwind
colors: {
  custom: {
    50: '#87574b',
    500: '#50170b',
    950: '#000000',
  },
}
SCSS
$custom: #50170b;
$custom-light: #87574b;
$custom-dark: #000000;
JSON
{
  "hex": "#50170b",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 10.435,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29605,
    "c": 0.08824,
    "h": 33.6
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#50170B
secondary
#2B7B8C
accent
#D2F235
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #50170B

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

Preview Lab → · Contrast checker → · Palette generator →

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