#5E271B#5E271B

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

Color values

HEX#5E271B
RGBrgb(94, 39, 27)
HSLhsl(11, 55%, 24%)
HSVhsv(11, 71%, 37%)
CMYKcmyk(0%, 58.5%, 71.3%, 63.1%)
CIE-LABlab(23.37, 24.15, 19.94)
CIE-LCHlch(23.37, 31.32, 39.55°)
OKLaboklab(34.86% 0.0695 0.0465)
OKLCHoklch(34.86% 0.084 33.8)
XYZxyz(5.5400, 3.9105, 1.4998)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E271B #1B525E
analogous
#5E1B30 #5E271B #5E481B
triadic
#5E271B #1B5E27 #271B5E
tetradic
#5E271B #305E1B #1B525E #481B5E
square
#5E271B #305E1B #1B525E #481B5E
split-complementary
#5E271B #1B5E48 #1B305E
monochromatic
#180A07 #2E130D #5E271B #8E3B29 #BD4E36

Accessibility & contrast

On white

11.78
#5E271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E271B
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E271B#FFFFFF#000000##FFFFFF
##5E271B1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#671C24
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e271b;
/* rgb */ color: rgb(94, 39, 27);
/* oklch */ color: oklch(34.9% 0.084 33.8);
Tailwind
colors: {
  custom: {
    50: '#906357',
    500: '#5e271b',
    950: '#000000',
  },
}
SCSS
$custom: #5e271b;
$custom-light: #906357;
$custom-dark: #000000;
JSON
{
  "hex": "#5e271b",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 10.746,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.08363,
    "h": 33.8
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#5E271B
secondary
#418594
accent
#C4DF49
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E271B

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

Preview Lab → · Contrast checker → · Palette generator →

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