#5E291B#5E291B

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

Color values

HEX#5E291B
RGBrgb(94, 41, 27)
HSLhsl(13, 55%, 24%)
HSVhsv(13, 71%, 37%)
CMYKcmyk(0%, 56.4%, 71.3%, 63.1%)
CIE-LABlab(23.82, 23.00, 20.48)
CIE-LCHlch(23.82, 30.80, 41.67°)
OKLaboklab(35.2% 0.066 0.0477)
OKLCHoklch(35.2% 0.081 35.8)
XYZxyz(5.6074, 4.0454, 1.5222)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E291B #1B505E
analogous
#5E1B2E #5E291B #5E4A1B
triadic
#5E291B #1B5E29 #291B5E
tetradic
#5E291B #2E5E1B #1B505E #4A1B5E
square
#5E291B #2E5E1B #1B505E #4A1B5E
split-complementary
#5E291B #1B5E4A #1B2E5E
monochromatic
#180A07 #2E140D #5E291B #8E3E29 #BD5236

Accessibility & contrast

On white

11.61
#5E291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E291B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E291B#FFFFFF#000000##FFFFFF
##5E291B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321A
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#671F26
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e291b;
/* rgb */ color: rgb(94, 41, 27);
/* oklch */ color: oklch(35.2% 0.081 35.8);
Tailwind
colors: {
  custom: {
    50: '#906457',
    500: '#5e291b',
    950: '#000000',
  },
}
SCSS
$custom: #5e291b;
$custom-light: #906457;
$custom-dark: #000000;
JSON
{
  "hex": "#5e291b",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 12.537,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35197,
    "c": 0.0814,
    "h": 35.8
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#5E291B
secondary
#418294
accent
#BFDF49
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5E291B

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

Preview Lab → · Contrast checker → · Palette generator →

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