#5B160D#5B160D

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

Color values

HEX#5B160D
RGBrgb(91, 22, 13)
HSLhsl(7, 75%, 20%)
HSVhsv(7, 86%, 36%)
CMYKcmyk(0%, 75.8%, 85.7%, 64.3%)
CIE-LABlab(19.34, 30.86, 23.61)
CIE-LCHlch(19.34, 38.86, 37.42°)
OKLaboklab(31.65% 0.0877 0.0522)
OKLCHoklch(31.65% 0.102 30.8)
XYZxyz(4.6745, 2.8277, 0.6804)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B160D #0D525B
analogous
#5B0D2B #5B160D #5B3D0D
triadic
#5B160D #0D5B16 #160D5B
tetradic
#5B160D #2B5B0D #0D525B #3D0D5B
square
#5B160D #2B5B0D #0D525B #3D0D5B
split-complementary
#5B160D #0D5B3D #0D2B5B
monochromatic
#1B0604 #250905 #5B160D #912315 #C6301C

Accessibility & contrast

On white

13.42
#5B160D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B160D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B160D#FFFFFF#000000##FFFFFF
##5B160D1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b160d;
/* rgb */ color: rgb(91, 22, 13);
/* oklch */ color: oklch(31.6% 0.102 30.8);
Tailwind
colors: {
  custom: {
    50: '#90584d',
    500: '#5b160d',
    950: '#000000',
  },
}
SCSS
$custom: #5b160d;
$custom-light: #90584d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b160d",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 13
  },
  "hsl": {
    "h": 6.923,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.10206,
    "h": 30.8
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#5B160D
secondary
#2F8995
accent
#DCF236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B160D

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

Preview Lab → · Contrast checker → · Palette generator →

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