#5C131B#5C131B

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

Color values

HEX#5C131B
RGBrgb(92, 19, 27)
HSLhsl(353, 66%, 22%)
HSVhsv(353, 79%, 36%)
CMYKcmyk(0%, 79.3%, 70.7%, 63.9%)
CIE-LABlab(19.31, 33.18, 14.87)
CIE-LCHlch(19.31, 36.36, 24.13°)
OKLaboklab(31.73% 0.0982 0.0353)
OKLCHoklch(31.73% 0.104 19.7)
XYZxyz(4.8449, 2.8209, 1.3261)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C131B #135C54
analogous
#5C1340 #5C131B #5C3013
triadic
#5C131B #1B5C13 #131B5C
tetradic
#5C131B #405C13 #135C54 #30135C
square
#5C131B #405C13 #135C54 #30135C
split-complementary
#5C131B #135C30 #13405C
monochromatic
#190507 #29090C #5C131B #8F1D2A #C12839

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C131B#FFFFFF#000000##FFFFFF
##5C131B1.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)
#28251B
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#660017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c131b;
/* rgb */ color: rgb(92, 19, 27);
/* oklch */ color: oklch(31.7% 0.104 19.7);
Tailwind
colors: {
  custom: {
    50: '#905857',
    500: '#5c131b',
    950: '#000000',
  },
}
SCSS
$custom: #5c131b;
$custom-light: #905857;
$custom-dark: #000000;
JSON
{
  "hex": "#5c131b",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 353.425,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31732,
    "c": 0.10437,
    "h": 19.7
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#5C131B
secondary
#37948A
accent
#E9D63F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C131B

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

Preview Lab → · Contrast checker → · Palette generator →

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