#5B180C#5B180C

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

Color values

HEX#5B180C
RGBrgb(91, 24, 12)
HSLhsl(9, 77%, 20%)
HSVhsv(9, 87%, 36%)
CMYKcmyk(0%, 73.6%, 86.8%, 64.3%)
CIE-LABlab(19.66, 29.93, 24.45)
CIE-LCHlch(19.66, 38.64, 39.24°)
OKLaboklab(31.88% 0.0846 0.0538)
OKLCHoklch(31.88% 0.1 32.5)
XYZxyz(4.7079, 2.9047, 0.6605)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B180C #0C4F5B
analogous
#5B0C27 #5B180C #5B3F0C
triadic
#5B180C #0C5B18 #180C5B
tetradic
#5B180C #275B0C #0C4F5B #3F0C5B
square
#5B180C #275B0C #0C4F5B #3F0C5B
split-complementary
#5B180C #0C5B3F #0C275B
monochromatic
#1B0704 #250A05 #5B180C #912613 #C7351A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B180C#FFFFFF#000000##FFFFFF
##5B180C1.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)
#2C260A
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#650316
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b180c;
/* rgb */ color: rgb(91, 24, 12);
/* oklch */ color: oklch(31.9% 0.100 32.5);
Tailwind
colors: {
  custom: {
    50: '#90594c',
    500: '#5b180c',
    950: '#000000',
  },
}
SCSS
$custom: #5b180c;
$custom-light: #90594c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b180c",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 12
  },
  "hsl": {
    "h": 9.114,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31882,
    "c": 0.10026,
    "h": 32.5
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#5B180C
secondary
#2D8696
accent
#D6F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B180C

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

Preview Lab → · Contrast checker → · Palette generator →

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