#5E271C#5E271C

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

Color values

HEX#5E271C
RGBrgb(94, 39, 28)
HSLhsl(10, 54%, 24%)
HSVhsv(10, 70%, 37%)
CMYKcmyk(0%, 58.5%, 70.2%, 63.1%)
CIE-LABlab(23.39, 24.22, 19.32)
CIE-LCHlch(23.39, 30.98, 38.58°)
OKLaboklab(34.88% 0.07 0.0453)
OKLCHoklch(34.88% 0.083 32.9)
XYZxyz(5.5517, 3.9153, 1.5617)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E271C #1C535E
analogous
#5E1C32 #5E271C #5E481C
triadic
#5E271C #1C5E27 #271C5E
tetradic
#5E271C #325E1C #1C535E #481C5E
square
#5E271C #325E1C #1C535E #481C5E
split-complementary
#5E271C #1C5E48 #1C325E
monochromatic
#180A07 #2F130E #5E271C #8D3B2A #BC4E38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E271C#FFFFFF#000000##FFFFFF
##5E271C1.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)
#35301B
Deuteranopia (green-blind)
#433C1B
Tritanopia (blue-blind)
#671C25
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e271c;
/* rgb */ color: rgb(94, 39, 28);
/* oklch */ color: oklch(34.9% 0.083 32.9);
Tailwind
colors: {
  custom: {
    50: '#906358',
    500: '#5e271c',
    950: '#000000',
  },
}
SCSS
$custom: #5e271c;
$custom-light: #906358;
$custom-dark: #000000;
JSON
{
  "hex": "#5e271c",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 10,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34875,
    "c": 0.08332,
    "h": 32.9
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#5E271C
secondary
#428693
accent
#C5DD4A
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E271C

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

Preview Lab → · Contrast checker → · Palette generator →

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