#5E291A#5E291A

#5E291A is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.2% C 0.082 H 36.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#5E291A
RGBrgb(94, 41, 26)
HSLhsl(13, 57%, 24%)
HSVhsv(13, 72%, 37%)
CMYKcmyk(0%, 56.4%, 72.3%, 63.1%)
CIE-LABlab(23.81, 22.94, 21.09)
CIE-LCHlch(23.81, 31.16, 42.60°)
OKLaboklab(35.18% 0.0656 0.0488)
OKLCHoklch(35.18% 0.082 36.7)
XYZxyz(5.5960, 4.0408, 1.4624)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E291A #1A4F5E
analogous
#5E1A2D #5E291A #5E4B1A
triadic
#5E291A #1A5E29 #291A5E
tetradic
#5E291A #2D5E1A #1A4F5E #4B1A5E
square
#5E291A #2D5E1A #1A4F5E #4B1A5E
split-complementary
#5E291A #1A5E4B #1A2D5E
monochromatic
#180A07 #2E140D #5E291A #8E3E27 #BE5335

Accessibility & contrast

On white

11.62
#5E291A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E291A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E291A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E291A#FFFFFF#000000##FFFFFF
##5E291A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#671F26
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e291a;
/* rgb */ color: rgb(94, 41, 26);
/* oklch */ color: oklch(35.2% 0.082 36.7);
Tailwind
colors: {
  custom: {
    50: '#906457',
    500: '#5e291a',
    950: '#000000',
  },
}
SCSS
$custom: #5e291a;
$custom-light: #906457;
$custom-dark: #000000;
JSON
{
  "hex": "#5e291a",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 26
  },
  "hsl": {
    "h": 13.235,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.08176,
    "h": 36.7
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#5E291A
secondary
#408194
accent
#BEE048
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5E291A

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

Preview Lab → · Contrast checker → · Palette generator →

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