#5C271D#5C271D

#5C271D is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.6% C 0.080 H 32.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5C271D
RGBrgb(92, 39, 29)
HSLhsl(10, 52%, 24%)
HSVhsv(10, 68%, 36%)
CMYKcmyk(0%, 57.6%, 68.5%, 63.9%)
CIE-LABlab(23.05, 23.43, 18.18)
CIE-LCHlch(23.05, 29.65, 37.81°)
OKLaboklab(34.56% 0.0679 0.043)
OKLCHoklch(34.56% 0.08 32.3)
XYZxyz(5.3614, 3.8157, 1.6163)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C271D #1D525C
analogous
#5C1D32 #5C271D #5C461D
triadic
#5C271D #1D5C27 #271D5C
tetradic
#5C271D #325C1D #1D525C #461D5C
square
#5C271D #325C1D #1D525C #461D5C
split-complementary
#5C271D #1D5C46 #1D325C
monochromatic
#170A07 #2D130E #5C271D #8B3B2C #B94E3A

Accessibility & contrast

On white

11.91
#5C271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C271D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C271D#FFFFFF#000000##FFFFFF
##5C271D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301C
Deuteranopia (green-blind)
#423B1C
Tritanopia (blue-blind)
#651D25
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c271d;
/* rgb */ color: rgb(92, 39, 29);
/* oklch */ color: oklch(34.6% 0.080 32.3);
Tailwind
colors: {
  custom: {
    50: '#8e6359',
    500: '#5c271d',
    950: '#000000',
  },
}
SCSS
$custom: #5c271d;
$custom-light: #8e6359;
$custom-dark: #000000;
JSON
{
  "hex": "#5c271d",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 9.524,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34555,
    "c": 0.08038,
    "h": 32.3
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#5C271D
secondary
#448591
accent
#C5DC4C
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5C271D

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

Preview Lab → · Contrast checker → · Palette generator →

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