#5B160F#5B160F

#5B160F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.102 H 29.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5B160F
RGBrgb(91, 22, 15)
HSLhsl(6, 72%, 21%)
HSVhsv(6, 84%, 36%)
CMYKcmyk(0%, 75.8%, 83.5%, 64.3%)
CIE-LABlab(19.36, 30.94, 22.63)
CIE-LCHlch(19.36, 38.33, 36.18°)
OKLaboklab(31.67% 0.0884 0.0503)
OKLCHoklch(31.67% 0.102 29.6)
XYZxyz(4.6881, 2.8332, 0.7519)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B160F #0F545B
analogous
#5B0F2E #5B160F #5B3C0F
triadic
#5B160F #0F5B16 #160F5B
tetradic
#5B160F #2E5B0F #0F545B #3C0F5B
square
#5B160F #2E5B0F #0F545B #3C0F5B
split-complementary
#5B160F #0F5B3C #0F2E5B
monochromatic
#1A0604 #260906 #5B160F #902318 #C42F20

Accessibility & contrast

On white

13.41
#5B160F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B160F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B160F
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B160F#FFFFFF#000000##FFFFFF
##5B160F1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250E
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b160f;
/* rgb */ color: rgb(91, 22, 15);
/* oklch */ color: oklch(31.7% 0.102 29.6);
Tailwind
colors: {
  custom: {
    50: '#90584e',
    500: '#5b160f',
    950: '#000000',
  },
}
SCSS
$custom: #5b160f;
$custom-light: #90584e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b160f",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 15
  },
  "hsl": {
    "h": 5.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31672,
    "c": 0.10169,
    "h": 29.6
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#5B160F
secondary
#318B95
accent
#DEEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B160F

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

Preview Lab → · Contrast checker → · Palette generator →

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