#5C131A#5C131A

#5C131A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.104 H 20.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#5C131A
RGBrgb(92, 19, 26)
HSLhsl(354, 66%, 22%)
HSVhsv(354, 79%, 36%)
CMYKcmyk(0%, 79.3%, 71.7%, 63.9%)
CIE-LABlab(19.29, 33.12, 15.54)
CIE-LCHlch(19.29, 36.58, 25.13°)
OKLaboklab(31.71% 0.0978 0.0366)
OKLCHoklch(31.71% 0.104 20.5)
XYZxyz(4.8335, 2.8164, 1.2662)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C131A #135C55
analogous
#5C133F #5C131A #5C3113
triadic
#5C131A #1A5C13 #131A5C
tetradic
#5C131A #3F5C13 #135C55 #31135C
square
#5C131A #3F5C13 #135C55 #31135C
split-complementary
#5C131A #135C31 #133F5C
monochromatic
#190507 #29090C #5C131A #8F1D28 #C12837

Accessibility & contrast

On white

13.43
#5C131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C131A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C131A#FFFFFF#000000##FFFFFF
##5C131A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#660016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c131a;
/* rgb */ color: rgb(92, 19, 26);
/* oklch */ color: oklch(31.7% 0.104 20.5);
Tailwind
colors: {
  custom: {
    50: '#905756',
    500: '#5c131a',
    950: '#000000',
  },
}
SCSS
$custom: #5c131a;
$custom-light: #905756;
$custom-dark: #000000;
JSON
{
  "hex": "#5c131a",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 354.247,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31712,
    "c": 0.10443,
    "h": 20.5
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#5C131A
secondary
#37948B
accent
#E9D83F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C131A

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

Preview Lab → · Contrast checker → · Palette generator →

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