#5C271C#5C271C

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

Color values

HEX#5C271C
RGBrgb(92, 39, 28)
HSLhsl(10, 53%, 24%)
HSVhsv(10, 70%, 36%)
CMYKcmyk(0%, 57.6%, 69.6%, 63.9%)
CIE-LABlab(23.04, 23.35, 18.81)
CIE-LCHlch(23.04, 29.98, 38.85°)
OKLaboklab(34.54% 0.0675 0.0442)
OKLCHoklch(34.54% 0.081 33.2)
XYZxyz(5.3492, 3.8108, 1.5523)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C271C #1C515C
analogous
#5C1C31 #5C271C #5C471C
triadic
#5C271C #1C5C27 #271C5C
tetradic
#5C271C #315C1C #1C515C #471C5C
square
#5C271C #315C1C #1C515C #471C5C
split-complementary
#5C271C #1C5C47 #1C315C
monochromatic
#170A07 #2D130E #5C271C #8B3B2A #BA4F39

Accessibility & contrast

On white

11.92
#5C271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C271C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C271C#FFFFFF#000000##FFFFFF
##5C271C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#423B1B
Tritanopia (blue-blind)
#651D24
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c271c;
/* rgb */ color: rgb(92, 39, 28);
/* oklch */ color: oklch(34.5% 0.081 33.2);
Tailwind
colors: {
  custom: {
    50: '#8f6358',
    500: '#5c271c',
    950: '#000000',
  },
}
SCSS
$custom: #5c271c;
$custom-light: #8f6358;
$custom-dark: #000000;
JSON
{
  "hex": "#5c271c",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 10.313,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.0807,
    "h": 33.2
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#5C271C
secondary
#428491
accent
#C4DD4B
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5C271C

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

Preview Lab → · Contrast checker → · Palette generator →

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