#5C161F#5C161F

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

Color values

HEX#5C161F
RGBrgb(92, 22, 31)
HSLhsl(352, 61%, 22%)
HSVhsv(352, 76%, 36%)
CMYKcmyk(0%, 76.1%, 66.3%, 63.9%)
CIE-LABlab(19.84, 32.23, 12.75)
CIE-LCHlch(19.84, 34.66, 21.59°)
OKLaboklab(32.15% 0.0961 0.0309)
OKLCHoklch(32.15% 0.101 17.8)
XYZxyz(4.9484, 2.9488, 1.6047)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C161F #165C53
analogous
#5C1642 #5C161F #5C3016
triadic
#5C161F #1F5C16 #161F5C
tetradic
#5C161F #425C16 #165C53 #30165C
square
#5C161F #425C16 #165C53 #30165C
split-complementary
#5C161F #165C30 #16425C
monochromatic
#190608 #2B0A0E #5C161F #8D2230 #BF2E40

Accessibility & contrast

On white

13.21
#5C161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C161F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C161F#FFFFFF#000000##FFFFFF
##5C161F1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#65041A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c161f;
/* rgb */ color: rgb(92, 22, 31);
/* oklch */ color: oklch(32.1% 0.101 17.8);
Tailwind
colors: {
  custom: {
    50: '#8f595a',
    500: '#5c161f',
    950: '#000000',
  },
}
SCSS
$custom: #5c161f;
$custom-light: #8f595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c161f",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 352.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32149,
    "c": 0.10093,
    "h": 17.8
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#5C161F
secondary
#3B9388
accent
#E5D043
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C161F

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

Preview Lab → · Contrast checker → · Palette generator →

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