#5C161B#5C161B

#5C161B is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.101 H 21.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5C161B
RGBrgb(92, 22, 27)
HSLhsl(356, 61%, 22%)
HSVhsv(356, 76%, 36%)
CMYKcmyk(0%, 76.1%, 70.7%, 63.9%)
CIE-LABlab(19.76, 31.95, 15.43)
CIE-LCHlch(19.76, 35.48, 25.77°)
OKLaboklab(32.06% 0.0943 0.0365)
OKLCHoklch(32.06% 0.101 21.2)
XYZxyz(4.8989, 2.9290, 1.3441)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C161B #165C57
analogous
#5C163E #5C161B #5C3416
triadic
#5C161B #1B5C16 #161B5C
tetradic
#5C161B #3E5C16 #165C57 #34165C
square
#5C161B #3E5C16 #165C57 #34165C
split-complementary
#5C161B #165C34 #163E5C
monochromatic
#190607 #2B0A0D #5C161B #8D2229 #BF2E38

Accessibility & contrast

On white

13.24
#5C161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C161B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C161B
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C161B#FFFFFF#000000##FFFFFF
##5C161B1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#660218
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c161b;
/* rgb */ color: rgb(92, 22, 27);
/* oklch */ color: oklch(32.1% 0.101 21.2);
Tailwind
colors: {
  custom: {
    50: '#905957',
    500: '#5c161b',
    950: '#000000',
  },
}
SCSS
$custom: #5c161b;
$custom-light: #905957;
$custom-dark: #000000;
JSON
{
  "hex": "#5c161b",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 355.714,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.10112,
    "h": 21.2
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#5C161B
secondary
#3B938D
accent
#E5D943
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C161B

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

Preview Lab → · Contrast checker → · Palette generator →

#5C161B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva