#5C181A#5C181A

#5C181A is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.099 H 23.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5C181A
RGBrgb(92, 24, 26)
HSLhsl(358, 59%, 23%)
HSVhsv(358, 74%, 36%)
CMYKcmyk(0%, 73.9%, 71.7%, 63.9%)
CIE-LABlab(20.06, 31.00, 16.49)
CIE-LCHlch(20.06, 35.12, 28.01°)
OKLaboklab(32.28% 0.0911 0.0388)
OKLCHoklch(32.28% 0.099 23.1)
XYZxyz(4.9272, 3.0039, 1.2974)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C181A #185C5A
analogous
#5C183C #5C181A #5C3818
triadic
#5C181A #1A5C18 #181A5C
tetradic
#5C181A #3C5C18 #185C5A #38185C
square
#5C181A #3C5C18 #185C5A #38185C
split-complementary
#5C181A #185C38 #183C5C
monochromatic
#180607 #2B0B0C #5C181A #8D2528 #BD3135

Accessibility & contrast

On white

13.12
#5C181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C181A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C181A#FFFFFF#000000##FFFFFF
##5C181A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#3C3618
Tritanopia (blue-blind)
#660519
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c181a;
/* rgb */ color: rgb(92, 24, 26);
/* oklch */ color: oklch(32.3% 0.099 23.1);
Tailwind
colors: {
  custom: {
    50: '#905a56',
    500: '#5c181a',
    950: '#000000',
  },
}
SCSS
$custom: #5c181a;
$custom-light: #905a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5c181a",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.235,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32283,
    "c": 0.09898,
    "h": 23.1
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#5C181A
secondary
#3D9390
accent
#E2DD46
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C181A

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

Preview Lab → · Contrast checker → · Palette generator →

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