#5B1827#5B1827

#5B1827 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 11.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5B1827
RGBrgb(91, 24, 39)
HSLhsl(347, 58%, 23%)
HSVhsv(347, 74%, 36%)
CMYKcmyk(0%, 73.6%, 57.1%, 64.3%)
CIE-LABlab(20.14, 31.66, 7.52)
CIE-LCHlch(20.14, 32.54, 13.36°)
OKLaboklab(32.4% 0.0959 0.0191)
OKLCHoklch(32.4% 0.098 11.2)
XYZxyz(5.0077, 3.0246, 2.2392)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1827 #185B4C
analogous
#5B1849 #5B1827 #5B2A18
triadic
#5B1827 #275B18 #18275B
tetradic
#5B1827 #495B18 #185B4C #2A185B
square
#5B1827 #495B18 #185B4C #2A185B
split-complementary
#5B1827 #185B2A #18495B
monochromatic
#18060A #2B0B12 #5B1827 #8B253C #BC3251

Accessibility & contrast

On white

13.09
#5B1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1827
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1827#FFFFFF#000000##FFFFFF
##5B18271.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282827
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#640B1E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1827;
/* rgb */ color: rgb(91, 24, 39);
/* oklch */ color: oklch(32.4% 0.098 11.2);
Tailwind
colors: {
  custom: {
    50: '#8e5a60',
    500: '#5b1827',
    950: '#000000',
  },
}
SCSS
$custom: #5b1827;
$custom-light: #8e5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1827",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 346.567,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.324,
    "c": 0.09773,
    "h": 11.2
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5B1827
secondary
#3D927F
accent
#E1BF46
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B1827

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

Preview Lab → · Contrast checker → · Palette generator →

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