#50170F#50170F

#50170F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.087 H 30.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#50170F
RGBrgb(80, 23, 15)
HSLhsl(7, 68%, 19%)
HSVhsv(7, 81%, 31%)
CMYKcmyk(0%, 71.2%, 81.3%, 68.6%)
CIE-LABlab(17.24, 26.19, 19.55)
CIE-LCHlch(17.24, 32.69, 36.74°)
OKLaboklab(29.66% 0.075 0.0447)
OKLCHoklch(29.66% 0.087 30.8)
XYZxyz(3.7013, 2.3533, 0.7112)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50170F #0F4850
analogous
#500F27 #50170F #50370F
triadic
#50170F #0F5017 #170F50
tetradic
#50170F #27500F #0F4850 #370F50
square
#50170F #27500F #0F4850 #370F50
split-complementary
#50170F #0F5037 #0F2750
monochromatic
#1A0705 #1C0805 #50170F #842619 #B73522

Accessibility & contrast

On white

14.28
#50170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50170F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50170F#FFFFFF#000000##FFFFFF
##50170F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50170f;
/* rgb */ color: rgb(80, 23, 15);
/* oklch */ color: oklch(29.7% 0.087 30.8);
Tailwind
colors: {
  custom: {
    50: '#87574e',
    500: '#50170f',
    950: '#000000',
  },
}
SCSS
$custom: #50170f;
$custom-light: #87574e;
$custom-dark: #000000;
JSON
{
  "hex": "#50170f",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 7.385,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29657,
    "c": 0.08729,
    "h": 30.8
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#50170F
secondary
#317F8A
accent
#D6EB3D
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #50170F

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

Preview Lab → · Contrast checker → · Palette generator →

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