#5C131F#5C131F

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

Color values

HEX#5C131F
RGBrgb(92, 19, 31)
HSLhsl(350, 66%, 22%)
HSVhsv(350, 79%, 36%)
CMYKcmyk(0%, 79.3%, 66.3%, 63.9%)
CIE-LABlab(19.39, 33.46, 12.17)
CIE-LCHlch(19.39, 35.60, 19.99°)
OKLaboklab(31.82% 0.1 0.0296)
OKLCHoklch(31.82% 0.104 16.5)
XYZxyz(4.8943, 2.8407, 1.5867)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C131F #135C50
analogous
#5C1344 #5C131F #5C2C13
triadic
#5C131F #1F5C13 #131F5C
tetradic
#5C131F #445C13 #135C50 #2C135C
square
#5C131F #445C13 #135C50 #2C135C
split-complementary
#5C131F #135C2C #13445C
monochromatic
#190509 #29090E #5C131F #8F1D30 #C12841

Accessibility & contrast

On white

13.39
#5C131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C131F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C131F#FFFFFF#000000##FFFFFF
##5C131F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#650018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c131f;
/* rgb */ color: rgb(92, 19, 31);
/* oklch */ color: oklch(31.8% 0.104 16.5);
Tailwind
colors: {
  custom: {
    50: '#90585a',
    500: '#5c131f',
    950: '#000000',
  },
}
SCSS
$custom: #5c131f;
$custom-light: #90585a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c131f",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 350.137,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3182,
    "c": 0.10429,
    "h": 16.5
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#5C131F
secondary
#379485
accent
#E9CD3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5C131F

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

Preview Lab → · Contrast checker → · Palette generator →

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