#5C271F#5C271F

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

Color values

HEX#5C271F
RGBrgb(92, 39, 31)
HSLhsl(8, 50%, 24%)
HSVhsv(8, 66%, 36%)
CMYKcmyk(0%, 57.6%, 66.3%, 63.9%)
CIE-LABlab(23.09, 23.58, 16.91)
CIE-LCHlch(23.09, 29.02, 35.65°)
OKLaboklab(34.59% 0.0688 0.0404)
OKLCHoklch(34.59% 0.08 30.4)
XYZxyz(5.3869, 3.8259, 1.7509)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C271F #1F545C
analogous
#5C1F36 #5C271F #5C461F
triadic
#5C271F #1F5C27 #271F5C
tetradic
#5C271F #365C1F #1F545C #461F5C
square
#5C271F #365C1F #1F545C #461F5C
split-complementary
#5C271F #1F5C46 #1F365C
monochromatic
#170A08 #2E1410 #5C271F #8A3A2E #B84E3E

Accessibility & contrast

On white

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

On black

1.77
#5C271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C271F#FFFFFF#000000##FFFFFF
##5C271F1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#651D25
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c271f;
/* rgb */ color: rgb(92, 39, 31);
/* oklch */ color: oklch(34.6% 0.080 30.4);
Tailwind
colors: {
  custom: {
    50: '#8e635a',
    500: '#5c271f',
    950: '#000000',
  },
}
SCSS
$custom: #5c271f;
$custom-light: #8e635a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c271f",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 7.869,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34592,
    "c": 0.07978,
    "h": 30.4
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#5C271F
secondary
#468791
accent
#C7D94F
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5C271F

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

Preview Lab → · Contrast checker → · Palette generator →

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