#5C181B#5C181B

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

Color values

HEX#5C181B
RGBrgb(92, 24, 27)
HSLhsl(357, 59%, 23%)
HSVhsv(357, 74%, 36%)
CMYKcmyk(0%, 73.9%, 70.7%, 63.9%)
CIE-LABlab(20.08, 31.07, 15.83)
CIE-LCHlch(20.08, 34.87, 27.00°)
OKLaboklab(32.3% 0.0915 0.0374)
OKLCHoklch(32.3% 0.099 22.2)
XYZxyz(4.9386, 3.0084, 1.3573)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C181B #185C59
analogous
#5C183D #5C181B #5C3718
triadic
#5C181B #1B5C18 #181B5C
tetradic
#5C181B #3D5C18 #185C59 #37185C
square
#5C181B #3D5C18 #185C59 #37185C
split-complementary
#5C181B #185C37 #183D5C
monochromatic
#180607 #2B0B0D #5C181B #8D2529 #BD3137

Accessibility & contrast

On white

13.11
#5C181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C181B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C181B#FFFFFF#000000##FFFFFF
##5C181B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B271B
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#66061A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c181b;
/* rgb */ color: rgb(92, 24, 27);
/* oklch */ color: oklch(32.3% 0.099 22.2);
Tailwind
colors: {
  custom: {
    50: '#905a57',
    500: '#5c181b',
    950: '#000000',
  },
}
SCSS
$custom: #5c181b;
$custom-light: #905a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c181b",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 357.353,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32302,
    "c": 0.09887,
    "h": 22.2
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#5C181B
secondary
#3D938F
accent
#E2DB46
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C181B

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

Preview Lab → · Contrast checker → · Palette generator →

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