#5C181D#5C181D

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

Color values

HEX#5C181D
RGBrgb(92, 24, 29)
HSLhsl(356, 59%, 23%)
HSVhsv(356, 74%, 36%)
CMYKcmyk(0%, 73.9%, 68.5%, 63.9%)
CIE-LABlab(20.12, 31.21, 14.50)
CIE-LCHlch(20.12, 34.41, 24.92°)
OKLaboklab(32.34% 0.0924 0.0347)
OKLCHoklch(32.34% 0.099 20.6)
XYZxyz(4.9625, 3.0180, 1.4834)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C181D #185C57
analogous
#5C183F #5C181D #5C3518
triadic
#5C181D #1D5C18 #181D5C
tetradic
#5C181D #3F5C18 #185C57 #35185C
square
#5C181D #3F5C18 #185C57 #35185C
split-complementary
#5C181D #185C35 #183F5C
monochromatic
#180608 #2B0B0E #5C181D #8D252C #BD313C

Accessibility & contrast

On white

13.10
#5C181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C181D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C181D#FFFFFF#000000##FFFFFF
##5C181D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#65061A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c181d;
/* rgb */ color: rgb(92, 24, 29);
/* oklch */ color: oklch(32.3% 0.099 20.6);
Tailwind
colors: {
  custom: {
    50: '#8f5a58',
    500: '#5c181d',
    950: '#000000',
  },
}
SCSS
$custom: #5c181d;
$custom-light: #8f5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c181d",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 355.588,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32343,
    "c": 0.09869,
    "h": 20.6
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#5C181D
secondary
#3D938C
accent
#E2D646
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C181D

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

Preview Lab → · Contrast checker → · Palette generator →

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