#5E271E#5E271E

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

Color values

HEX#5E271E
RGBrgb(94, 39, 30)
HSLhsl(8, 52%, 24%)
HSVhsv(8, 68%, 37%)
CMYKcmyk(0%, 58.5%, 68.1%, 63.1%)
CIE-LABlab(23.42, 24.36, 18.06)
CIE-LCHlch(23.42, 30.33, 36.55°)
OKLaboklab(34.91% 0.0708 0.0428)
OKLCHoklch(34.91% 0.083 31.1)
XYZxyz(5.5765, 3.9251, 1.6920)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E271E #1E555E
analogous
#5E1E35 #5E271E #5E471E
triadic
#5E271E #1E5E27 #271E5E
tetradic
#5E271E #355E1E #1E555E #471E5E
square
#5E271E #355E1E #1E555E #471E5E
split-complementary
#5E271E #1E5E47 #1E355E
monochromatic
#170A07 #30140F #5E271E #8C3A2D #BB4D3C

Accessibility & contrast

On white

11.77
#5E271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E271E
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E271E#FFFFFF#000000##FFFFFF
##5E271E1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301D
Deuteranopia (green-blind)
#433C1D
Tritanopia (blue-blind)
#671D25
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e271e;
/* rgb */ color: rgb(94, 39, 30);
/* oklch */ color: oklch(34.9% 0.083 31.1);
Tailwind
colors: {
  custom: {
    50: '#90635a',
    500: '#5e271e',
    950: '#000000',
  },
}
SCSS
$custom: #5e271e;
$custom-light: #90635a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e271e",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 8.438,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3491,
    "c": 0.08272,
    "h": 31.1
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#5E271E
secondary
#458893
accent
#C7DB4D
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E271E

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

Preview Lab → · Contrast checker → · Palette generator →

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