#5B180E#5B180E

#5B180E is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.100 H 31.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#5B180E
RGBrgb(91, 24, 14)
HSLhsl(8, 73%, 21%)
HSVhsv(8, 85%, 36%)
CMYKcmyk(0%, 73.6%, 84.6%, 64.3%)
CIE-LABlab(19.68, 30.00, 23.51)
CIE-LCHlch(19.68, 38.12, 38.08°)
OKLaboklab(31.91% 0.0853 0.052)
OKLCHoklch(31.91% 0.1 31.4)
XYZxyz(4.7208, 2.9098, 0.7285)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B180E #0E515B
analogous
#5B0E2A #5B180E #5B3E0E
triadic
#5B180E #0E5B18 #180E5B
tetradic
#5B180E #2A5B0E #0E515B #3E0E5B
square
#5B180E #2A5B0E #0E515B #3E0E5B
split-complementary
#5B180E #0E5B3E #0E2A5B
monochromatic
#1B0704 #260A06 #5B180E #902616 #C5341E

Accessibility & contrast

On white

13.28
#5B180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B180E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B180E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B180E#FFFFFF#000000##FFFFFF
##5B180E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#650316
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b180e;
/* rgb */ color: rgb(91, 24, 14);
/* oklch */ color: oklch(31.9% 0.100 31.4);
Tailwind
colors: {
  custom: {
    50: '#90594d',
    500: '#5b180e',
    950: '#000000',
  },
}
SCSS
$custom: #5b180e;
$custom-light: #90594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b180e",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 7.792,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31905,
    "c": 0.09985,
    "h": 31.4
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#5B180E
secondary
#308895
accent
#D8F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B180E

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

Preview Lab → · Contrast checker → · Palette generator →

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