#5D291A#5D291A

#5D291A is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.0% C 0.080 H 36.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#5D291A
RGBrgb(93, 41, 26)
HSLhsl(13, 56%, 23%)
HSVhsv(13, 72%, 36%)
CMYKcmyk(0%, 55.9%, 72%, 63.5%)
CIE-LABlab(23.63, 22.49, 20.84)
CIE-LCHlch(23.63, 30.67, 42.82°)
OKLaboklab(35.02% 0.0643 0.0483)
OKLCHoklch(35.02% 0.08 36.9)
XYZxyz(5.4941, 3.9883, 1.4576)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D291A #1A4E5D
analogous
#5D1A2C #5D291A #5D4A1A
triadic
#5D291A #1A5D29 #291A5D
tetradic
#5D291A #2C5D1A #1A4E5D #4A1A5D
square
#5D291A #2C5D1A #1A4E5D #4A1A5D
split-complementary
#5D291A #1A5D4A #1A2C5D
monochromatic
#180B07 #2D140D #5D291A #8D3E27 #BD5335

Accessibility & contrast

On white

11.68
#5D291A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5D291A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D291A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D291A#FFFFFF#000000##FFFFFF
##5D291A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#433D19
Tritanopia (blue-blind)
#661F26
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d291a;
/* rgb */ color: rgb(93, 41, 26);
/* oklch */ color: oklch(35.0% 0.080 36.9);
Tailwind
colors: {
  custom: {
    50: '#8f6457',
    500: '#5d291a',
    950: '#000000',
  },
}
SCSS
$custom: #5d291a;
$custom-light: #8f6457;
$custom-dark: #000000;
JSON
{
  "hex": "#5d291a",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 26
  },
  "hsl": {
    "h": 13.433,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35015,
    "c": 0.08046,
    "h": 36.9
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#5D291A
secondary
#408093
accent
#BEE048
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5D291A

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

Preview Lab → · Contrast checker → · Palette generator →

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