#5C181F#5C181F

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

Color values

HEX#5C181F
RGBrgb(92, 24, 31)
HSLhsl(354, 59%, 23%)
HSVhsv(354, 74%, 36%)
CMYKcmyk(0%, 73.9%, 66.3%, 63.9%)
CIE-LABlab(20.16, 31.35, 13.17)
CIE-LCHlch(20.16, 34.01, 22.79°)
OKLaboklab(32.39% 0.0933 0.0319)
OKLCHoklch(32.39% 0.099 18.9)
XYZxyz(4.9881, 3.0282, 1.6179)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C181F #185C55
analogous
#5C1841 #5C181F #5C3318
triadic
#5C181F #1F5C18 #181F5C
tetradic
#5C181F #415C18 #185C55 #33185C
square
#5C181F #415C18 #185C55 #33185C
split-complementary
#5C181F #185C33 #18415C
monochromatic
#180608 #2B0B0F #5C181F #8D252F #BD3140

Accessibility & contrast

On white

13.08
#5C181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C181F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C181F#FFFFFF#000000##FFFFFF
##5C181F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#65071B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c181f;
/* rgb */ color: rgb(92, 24, 31);
/* oklch */ color: oklch(32.4% 0.099 18.9);
Tailwind
colors: {
  custom: {
    50: '#8f5a5a',
    500: '#5c181f',
    950: '#000000',
  },
}
SCSS
$custom: #5c181f;
$custom-light: #8f5a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c181f",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 353.824,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.09857,
    "h": 18.9
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#5C181F
secondary
#3D938A
accent
#E2D246
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C181F

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

Preview Lab → · Contrast checker → · Palette generator →

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