#5C181E#5C181E

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

Color values

HEX#5C181E
RGBrgb(92, 24, 30)
HSLhsl(355, 59%, 23%)
HSVhsv(355, 74%, 36%)
CMYKcmyk(0%, 73.9%, 67.4%, 63.9%)
CIE-LABlab(20.14, 31.28, 13.84)
CIE-LCHlch(20.14, 34.20, 23.86°)
OKLaboklab(32.37% 0.0928 0.0333)
OKLCHoklch(32.37% 0.099 19.7)
XYZxyz(4.9751, 3.0230, 1.5496)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C181E #185C56
analogous
#5C1840 #5C181E #5C3418
triadic
#5C181E #1E5C18 #181E5C
tetradic
#5C181E #405C18 #185C56 #34185C
square
#5C181E #405C18 #185C56 #34185C
split-complementary
#5C181E #185C34 #18405C
monochromatic
#180608 #2B0B0E #5C181E #8D252E #BD313E

Accessibility & contrast

On white

13.09
#5C181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C181E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C181E#FFFFFF#000000##FFFFFF
##5C181E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c181e;
/* rgb */ color: rgb(92, 24, 30);
/* oklch */ color: oklch(32.4% 0.099 19.7);
Tailwind
colors: {
  custom: {
    50: '#8f5a59',
    500: '#5c181e',
    950: '#000000',
  },
}
SCSS
$custom: #5c181e;
$custom-light: #8f5a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5c181e",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 354.706,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.09862,
    "h": 19.7
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#5C181E
secondary
#3D938B
accent
#E2D446
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C181E

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

Preview Lab → · Contrast checker → · Palette generator →

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