#5B1817#5B1817

#5B1817 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.098 H 25.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#5B1817
RGBrgb(91, 24, 23)
HSLhsl(1, 60%, 22%)
HSVhsv(1, 75%, 36%)
CMYKcmyk(0%, 73.6%, 74.7%, 64.3%)
CIE-LABlab(19.80, 30.45, 18.16)
CIE-LCHlch(19.80, 35.45, 30.82°)
OKLaboklab(32.04% 0.0887 0.042)
OKLCHoklch(32.04% 0.098 25.3)
XYZxyz(4.7962, 2.9400, 1.1254)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1817 #175A5B
analogous
#5B1738 #5B1817 #5B3A17
triadic
#5B1817 #175B18 #18175B
tetradic
#5B1817 #385B17 #175A5B #3A175B
square
#5B1817 #385B17 #175A5B #3A175B
split-complementary
#5B1817 #175B3A #17385B
monochromatic
#180606 #2A0B0B #5B1817 #8C2523 #BD3230

Accessibility & contrast

On white

13.23
#5B1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1817
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1817#FFFFFF#000000##FFFFFF
##5B18171.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#650518
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1817;
/* rgb */ color: rgb(91, 24, 23);
/* oklch */ color: oklch(32.0% 0.098 25.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a54',
    500: '#5b1817',
    950: '#000000',
  },
}
SCSS
$custom: #5b1817;
$custom-light: #8f5a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1817",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.882,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32036,
    "c": 0.09818,
    "h": 25.3
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#5B1817
secondary
#3C9192
accent
#E0E345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B1817

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

Preview Lab → · Contrast checker → · Palette generator →

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