#50161B#50161B

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

Color values

HEX#50161B
RGBrgb(80, 22, 27)
HSLhsl(355, 57%, 20%)
HSVhsv(355, 73%, 31%)
CMYKcmyk(0%, 72.5%, 66.3%, 68.6%)
CIE-LABlab(17.27, 27.47, 11.74)
CIE-LCHlch(17.27, 29.88, 23.13°)
OKLaboklab(29.74% 0.0818 0.0285)
OKLCHoklch(29.74% 0.087 19.2)
XYZxyz(3.7934, 2.3589, 1.2923)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50161B #16504B
analogous
#501638 #50161B #502E16
triadic
#50161B #1B5016 #161B50
tetradic
#50161B #385016 #16504B #2E1650
square
#50161B #385016 #16504B #2E1650
split-complementary
#50161B #16502E #163850
monochromatic
#180708 #20090B #50161B #80232B #B0303B

Accessibility & contrast

On white

14.27
#50161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50161B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50161B#FFFFFF#000000##FFFFFF
##50161B1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#580918
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #50161b;
/* rgb */ color: rgb(80, 22, 27);
/* oklch */ color: oklch(29.7% 0.087 19.2);
Tailwind
colors: {
  custom: {
    50: '#865757',
    500: '#50161b',
    950: '#000000',
  },
}
SCSS
$custom: #50161b;
$custom-light: #865757;
$custom-dark: #000000;
JSON
{
  "hex": "#50161b",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 354.828,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.0866,
    "h": 19.2
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#50161B
secondary
#3A8781
accent
#E0D348
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50161B

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

Preview Lab → · Contrast checker → · Palette generator →

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