#5B1813#5B1813

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

Color values

HEX#5B1813
RGBrgb(91, 24, 19)
HSLhsl(4, 65%, 22%)
HSVhsv(4, 79%, 36%)
CMYKcmyk(0%, 73.6%, 79.1%, 64.3%)
CIE-LABlab(19.74, 30.23, 20.73)
CIE-LCHlch(19.74, 36.66, 34.45°)
OKLaboklab(31.97% 0.0871 0.0468)
OKLCHoklch(31.97% 0.099 28.2)
XYZxyz(4.7591, 2.9251, 0.9300)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1813 #13565B
analogous
#5B1332 #5B1813 #5B3C13
triadic
#5B1813 #135B18 #18135B
tetradic
#5B1813 #325B13 #13565B #3C135B
square
#5B1813 #325B13 #13565B #3C135B
split-complementary
#5B1813 #135B3C #13325B
monochromatic
#190705 #280B08 #5B1813 #8E251E #C03328

Accessibility & contrast

On white

13.25
#5B1813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1813
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1813#FFFFFF#000000##FFFFFF
##5B18131.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2612
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#650417
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1813;
/* rgb */ color: rgb(91, 24, 19);
/* oklch */ color: oklch(32.0% 0.099 28.2);
Tailwind
colors: {
  custom: {
    50: '#905a51',
    500: '#5b1813',
    950: '#000000',
  },
}
SCSS
$custom: #5b1813;
$custom-light: #905a51;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1813",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 19
  },
  "hsl": {
    "h": 4.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.09886,
    "h": 28.2
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#5B1813
secondary
#378D93
accent
#DDE83F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5B1813

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

Preview Lab → · Contrast checker → · Palette generator →

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