#5C271E#5C271E

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

Color values

HEX#5C271E
RGBrgb(92, 39, 30)
HSLhsl(9, 51%, 24%)
HSVhsv(9, 67%, 36%)
CMYKcmyk(0%, 57.6%, 67.4%, 63.9%)
CIE-LABlab(23.07, 23.50, 17.55)
CIE-LCHlch(23.07, 29.33, 36.74°)
OKLaboklab(34.57% 0.0684 0.0417)
OKLCHoklch(34.57% 0.08 31.4)
XYZxyz(5.3740, 3.8207, 1.6825)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C271E #1E535C
analogous
#5C1E34 #5C271E #5C461E
triadic
#5C271E #1E5C27 #271E5C
tetradic
#5C271E #345C1E #1E535C #461E5C
square
#5C271E #345C1E #1E535C #461E5C
split-complementary
#5C271E #1E5C46 #1E345C
monochromatic
#170A08 #2E130F #5C271E #8A3B2D #B84E3C

Accessibility & contrast

On white

11.90
#5C271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C271E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C271E#FFFFFF#000000##FFFFFF
##5C271E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c271e;
/* rgb */ color: rgb(92, 39, 30);
/* oklch */ color: oklch(34.6% 0.080 31.4);
Tailwind
colors: {
  custom: {
    50: '#8e635a',
    500: '#5c271e',
    950: '#000000',
  },
}
SCSS
$custom: #5c271e;
$custom-light: #8e635a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c271e",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 8.71,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34573,
    "c": 0.08008,
    "h": 31.4
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#5C271E
secondary
#458691
accent
#C6DA4D
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5C271E

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

Preview Lab → · Contrast checker → · Palette generator →

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