#5C131E#5C131E

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

Color values

HEX#5C131E
RGBrgb(92, 19, 30)
HSLhsl(351, 66%, 22%)
HSVhsv(351, 79%, 36%)
CMYKcmyk(0%, 79.3%, 67.4%, 63.9%)
CIE-LABlab(19.37, 33.39, 12.85)
CIE-LCHlch(19.37, 35.77, 21.05°)
OKLaboklab(31.8% 0.0996 0.031)
OKLCHoklch(31.8% 0.104 17.3)
XYZxyz(4.8814, 2.8355, 1.5183)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C131E #135C51
analogous
#5C1343 #5C131E #5C2D13
triadic
#5C131E #1E5C13 #131E5C
tetradic
#5C131E #435C13 #135C51 #2D135C
square
#5C131E #435C13 #135C51 #2D135C
split-complementary
#5C131E #135C2D #13435C
monochromatic
#190508 #29090D #5C131E #8F1D2F #C1283F

Accessibility & contrast

On white

13.40
#5C131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C131E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C131E#FFFFFF#000000##FFFFFF
##5C131E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#660018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c131e;
/* rgb */ color: rgb(92, 19, 30);
/* oklch */ color: oklch(31.8% 0.104 17.3);
Tailwind
colors: {
  custom: {
    50: '#905859',
    500: '#5c131e',
    950: '#000000',
  },
}
SCSS
$custom: #5c131e;
$custom-light: #905859;
$custom-dark: #000000;
JSON
{
  "hex": "#5c131e",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 350.959,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31797,
    "c": 0.10429,
    "h": 17.3
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#5C131E
secondary
#379486
accent
#E9CF3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5C131E

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

Preview Lab → · Contrast checker → · Palette generator →

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