#5E271A#5E271A

#5E271A is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.8% C 0.084 H 34.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#5E271A
RGBrgb(94, 39, 26)
HSLhsl(11, 57%, 24%)
HSVhsv(11, 72%, 37%)
CMYKcmyk(0%, 58.5%, 72.3%, 63.1%)
CIE-LABlab(23.36, 24.08, 20.56)
CIE-LCHlch(23.36, 31.67, 40.49°)
OKLaboklab(34.84% 0.0691 0.0477)
OKLCHoklch(34.84% 0.084 34.6)
XYZxyz(5.5286, 3.9060, 1.4399)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E271A #1A515E
analogous
#5E1A2F #5E271A #5E491A
triadic
#5E271A #1A5E27 #271A5E
tetradic
#5E271A #2F5E1A #1A515E #491A5E
square
#5E271A #2F5E1A #1A515E #491A5E
split-complementary
#5E271A #1A5E49 #1A2F5E
monochromatic
#180A07 #2E130D #5E271A #8E3B27 #BE4F35

Accessibility & contrast

On white

11.79
#5E271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E271A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E271A#FFFFFF#000000##FFFFFF
##5E271A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363019
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#681C24
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e271a;
/* rgb */ color: rgb(94, 39, 26);
/* oklch */ color: oklch(34.8% 0.084 34.6);
Tailwind
colors: {
  custom: {
    50: '#906357',
    500: '#5e271a',
    950: '#000000',
  },
}
SCSS
$custom: #5e271a;
$custom-light: #906357;
$custom-dark: #000000;
JSON
{
  "hex": "#5e271a",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 11.471,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34841,
    "c": 0.08396,
    "h": 34.6
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#5E271A
secondary
#408494
accent
#C3E048
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E271A

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

Preview Lab → · Contrast checker → · Palette generator →

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