#5E271D#5E271D

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

Color values

HEX#5E271D
RGBrgb(94, 39, 29)
HSLhsl(9, 53%, 24%)
HSVhsv(9, 69%, 37%)
CMYKcmyk(0%, 58.5%, 69.1%, 63.1%)
CIE-LABlab(23.41, 24.29, 18.69)
CIE-LCHlch(23.41, 30.65, 37.58°)
OKLaboklab(34.89% 0.0704 0.044)
OKLCHoklch(34.89% 0.083 32)
XYZxyz(5.5639, 3.9201, 1.6258)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E271D #1D545E
analogous
#5E1D34 #5E271D #5E481D
triadic
#5E271D #1D5E27 #271D5E
tetradic
#5E271D #345E1D #1D545E #481D5E
square
#5E271D #345E1D #1D545E #481D5E
split-complementary
#5E271D #1D5E48 #1D345E
monochromatic
#170A07 #2F140F #5E271D #8D3A2B #BC4E3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E271D#FFFFFF#000000##FFFFFF
##5E271D1.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)
#35301C
Deuteranopia (green-blind)
#433C1C
Tritanopia (blue-blind)
#671C25
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e271d;
/* rgb */ color: rgb(94, 39, 29);
/* oklch */ color: oklch(34.9% 0.083 32.0);
Tailwind
colors: {
  custom: {
    50: '#906359',
    500: '#5e271d',
    950: '#000000',
  },
}
SCSS
$custom: #5e271d;
$custom-light: #906359;
$custom-dark: #000000;
JSON
{
  "hex": "#5e271d",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 9.231,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34892,
    "c": 0.08301,
    "h": 32
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#5E271D
secondary
#448793
accent
#C6DC4C
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E271D

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

Preview Lab → · Contrast checker → · Palette generator →

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