#5E291F#5E291F

#5E291F is a dark, moderate red. Relative luminance 0.041; OKLCH L 35.3% C 0.080 H 32.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#5E291F
RGBrgb(94, 41, 31)
HSLhsl(10, 50%, 25%)
HSVhsv(10, 67%, 37%)
CMYKcmyk(0%, 56.4%, 67%, 63.1%)
CIE-LABlab(23.89, 23.29, 17.98)
CIE-LCHlch(23.89, 29.43, 37.67°)
OKLaboklab(35.27% 0.0677 0.0427)
OKLCHoklch(35.27% 0.08 32.2)
XYZxyz(5.6568, 4.0652, 1.7828)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E291F #1F545E
analogous
#5E1F35 #5E291F #5E491F
triadic
#5E291F #1F5E29 #291F5E
tetradic
#5E291F #355E1F #1F545E #491F5E
square
#5E291F #355E1F #1F545E #491F5E
split-complementary
#5E291F #1F5E49 #1F355E
monochromatic
#170A08 #301510 #5E291F #8C3D2E #BA513D

Accessibility & contrast

On white

11.58
#5E291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E291F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E291F#FFFFFF#000000##FFFFFF
##5E291F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#443D1E
Tritanopia (blue-blind)
#671F27
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e291f;
/* rgb */ color: rgb(94, 41, 31);
/* oklch */ color: oklch(35.3% 0.080 32.2);
Tailwind
colors: {
  custom: {
    50: '#90645a',
    500: '#5e291f',
    950: '#000000',
  },
}
SCSS
$custom: #5e291f;
$custom-light: #90645a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e291f",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 9.524,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35268,
    "c": 0.08004,
    "h": 32.2
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#5E291F
secondary
#468793
accent
#C4DA4E
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0504
muted
#7E7A79

Preview Lab

Preview with #5E291F

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

Preview Lab → · Contrast checker → · Palette generator →

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