#5C181C#5C181C

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

Color values

HEX#5C181C
RGBrgb(92, 24, 28)
HSLhsl(356, 59%, 23%)
HSVhsv(356, 74%, 36%)
CMYKcmyk(0%, 73.9%, 69.6%, 63.9%)
CIE-LABlab(20.10, 31.14, 15.17)
CIE-LCHlch(20.10, 34.64, 25.97°)
OKLaboklab(32.32% 0.092 0.0361)
OKLCHoklch(32.32% 0.099 21.4)
XYZxyz(4.9504, 3.0131, 1.4193)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C181C #185C58
analogous
#5C183E #5C181C #5C3618
triadic
#5C181C #1C5C18 #181C5C
tetradic
#5C181C #3E5C18 #185C58 #36185C
square
#5C181C #3E5C18 #185C58 #36185C
split-complementary
#5C181C #185C36 #183E5C
monochromatic
#180607 #2B0B0D #5C181C #8D252B #BD313A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C181C#FFFFFF#000000##FFFFFF
##5C181C1.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)
#2A271C
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#66061A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c181c;
/* rgb */ color: rgb(92, 24, 28);
/* oklch */ color: oklch(32.3% 0.099 21.4);
Tailwind
colors: {
  custom: {
    50: '#905a58',
    500: '#5c181c',
    950: '#000000',
  },
}
SCSS
$custom: #5c181c;
$custom-light: #905a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c181c",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 356.471,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32323,
    "c": 0.09877,
    "h": 21.4
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#5C181C
secondary
#3D938E
accent
#E2D946
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C181C

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

Preview Lab → · Contrast checker → · Palette generator →

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