#5C131C#5C131C

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

Color values

HEX#5C131C
RGBrgb(92, 19, 28)
HSLhsl(353, 66%, 22%)
HSVhsv(353, 79%, 36%)
CMYKcmyk(0%, 79.3%, 69.6%, 63.9%)
CIE-LABlab(19.33, 33.25, 14.19)
CIE-LCHlch(19.33, 36.15, 23.12°)
OKLaboklab(31.75% 0.0987 0.0339)
OKLCHoklch(31.75% 0.104 18.9)
XYZxyz(4.8566, 2.8256, 1.3881)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C131C #135C53
analogous
#5C1341 #5C131C #5C2F13
triadic
#5C131C #1C5C13 #131C5C
tetradic
#5C131C #415C13 #135C53 #2F135C
square
#5C131C #415C13 #135C53 #2F135C
split-complementary
#5C131C #135C2F #13415C
monochromatic
#190508 #29090D #5C131C #8F1D2B #C1283B

Accessibility & contrast

On white

13.42
#5C131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C131C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C131C#FFFFFF#000000##FFFFFF
##5C131C1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251C
Deuteranopia (green-blind)
#3A341A
Tritanopia (blue-blind)
#660017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c131c;
/* rgb */ color: rgb(92, 19, 28);
/* oklch */ color: oklch(31.8% 0.104 18.9);
Tailwind
colors: {
  custom: {
    50: '#905857',
    500: '#5c131c',
    950: '#000000',
  },
}
SCSS
$custom: #5c131c;
$custom-light: #905857;
$custom-dark: #000000;
JSON
{
  "hex": "#5c131c",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 352.603,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31753,
    "c": 0.10433,
    "h": 18.9
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#5C131C
secondary
#379489
accent
#E9D43F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C131C

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

Preview Lab → · Contrast checker → · Palette generator →

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