#5C271A#5C271A

#5C271A is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.5% C 0.081 H 35.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#5C271A
RGBrgb(92, 39, 26)
HSLhsl(12, 56%, 23%)
HSVhsv(12, 72%, 36%)
CMYKcmyk(0%, 57.6%, 71.7%, 63.9%)
CIE-LABlab(23.00, 23.21, 20.06)
CIE-LCHlch(23.00, 30.68, 40.83°)
OKLaboklab(34.5% 0.0667 0.0466)
OKLCHoklch(34.5% 0.081 35)
XYZxyz(5.3261, 3.8016, 1.4304)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C271A #1A4F5C
analogous
#5C1A2E #5C271A #5C481A
triadic
#5C271A #1A5C27 #271A5C
tetradic
#5C271A #2E5C1A #1A4F5C #481A5C
square
#5C271A #2E5C1A #1A4F5C #481A5C
split-complementary
#5C271A #1A5C48 #1A2E5C
monochromatic
#180A07 #2C130D #5C271A #8C3B27 #BB4F35

Accessibility & contrast

On white

11.93
#5C271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C271A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C271A#FFFFFF#000000##FFFFFF
##5C271A1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#651D24
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c271a;
/* rgb */ color: rgb(92, 39, 26);
/* oklch */ color: oklch(34.5% 0.081 35.0);
Tailwind
colors: {
  custom: {
    50: '#8f6357',
    500: '#5c271a',
    950: '#000000',
  },
}
SCSS
$custom: #5c271a;
$custom-light: #8f6357;
$custom-dark: #000000;
JSON
{
  "hex": "#5c271a",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 11.818,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34502,
    "c": 0.08136,
    "h": 35
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#5C271A
secondary
#408292
accent
#C2DF49
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5C271A

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

Preview Lab → · Contrast checker → · Palette generator →

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