#5D291C#5D291C

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

Color values

HEX#5D291C
RGBrgb(93, 41, 28)
HSLhsl(12, 54%, 24%)
HSVhsv(12, 70%, 36%)
CMYKcmyk(0%, 55.9%, 69.9%, 63.5%)
CIE-LABlab(23.66, 22.63, 19.61)
CIE-LCHlch(23.66, 29.95, 40.90°)
OKLaboklab(35.05% 0.0652 0.0459)
OKLCHoklch(35.05% 0.08 35.2)
XYZxyz(5.5172, 3.9975, 1.5794)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D291C #1C505D
analogous
#5D1C2F #5D291C #5D491C
triadic
#5D291C #1C5D29 #291C5D
tetradic
#5D291C #2F5D1C #1C505D #491C5D
square
#5D291C #2F5D1C #1C505D #491C5D
split-complementary
#5D291C #1C5D49 #1C2F5D
monochromatic
#180A07 #2E140E #5D291C #8C3E2A #BB5238

Accessibility & contrast

On white

11.67
#5D291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D291C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D291C#FFFFFF#000000##FFFFFF
##5D291C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37311B
Deuteranopia (green-blind)
#433D1B
Tritanopia (blue-blind)
#661F26
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d291c;
/* rgb */ color: rgb(93, 41, 28);
/* oklch */ color: oklch(35.0% 0.080 35.2);
Tailwind
colors: {
  custom: {
    50: '#8f6458',
    500: '#5d291c',
    950: '#000000',
  },
}
SCSS
$custom: #5d291c;
$custom-light: #8f6458;
$custom-dark: #000000;
JSON
{
  "hex": "#5d291c",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 12,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35048,
    "c": 0.07973,
    "h": 35.2
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#5D291C
secondary
#428292
accent
#C0DD4B
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5D291C

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

Preview Lab → · Contrast checker → · Palette generator →

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