#5C131D#5C131D

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

Color values

HEX#5C131D
RGBrgb(92, 19, 29)
HSLhsl(352, 66%, 22%)
HSVhsv(352, 79%, 36%)
CMYKcmyk(0%, 79.3%, 68.5%, 63.9%)
CIE-LABlab(19.35, 33.32, 13.52)
CIE-LCHlch(19.35, 35.96, 22.09°)
OKLaboklab(31.77% 0.0991 0.0325)
OKLCHoklch(31.77% 0.104 18.1)
XYZxyz(4.8688, 2.8305, 1.4521)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C131D #135C52
analogous
#5C1342 #5C131D #5C2E13
triadic
#5C131D #1D5C13 #131D5C
tetradic
#5C131D #425C13 #135C52 #2E135C
square
#5C131D #425C13 #135C52 #2E135C
split-complementary
#5C131D #135C2E #13425C
monochromatic
#190508 #29090D #5C131D #8F1D2D #C1283D

Accessibility & contrast

On white

13.41
#5C131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C131D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C131D#FFFFFF#000000##FFFFFF
##5C131D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#660017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c131d;
/* rgb */ color: rgb(92, 19, 29);
/* oklch */ color: oklch(31.8% 0.104 18.1);
Tailwind
colors: {
  custom: {
    50: '#905858',
    500: '#5c131d',
    950: '#000000',
  },
}
SCSS
$custom: #5c131d;
$custom-light: #905858;
$custom-dark: #000000;
JSON
{
  "hex": "#5c131d",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 351.781,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.1043,
    "h": 18.1
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#5C131D
secondary
#379487
accent
#E9D13F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5C131D

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

Preview Lab → · Contrast checker → · Palette generator →

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