#5C151A#5C151A

#5C151A is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.102 H 21.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5C151A
RGBrgb(92, 21, 26)
HSLhsl(356, 63%, 22%)
HSVhsv(356, 77%, 36%)
CMYKcmyk(0%, 77.2%, 71.7%, 63.9%)
CIE-LABlab(19.59, 32.31, 15.90)
CIE-LCHlch(19.59, 36.01, 26.21°)
OKLaboklab(31.93% 0.0952 0.0374)
OKLCHoklch(31.93% 0.102 21.5)
XYZxyz(4.8688, 2.8869, 1.2779)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C151A #155C57
analogous
#5C153D #5C151A #5C3415
triadic
#5C151A #1A5C15 #151A5C
tetradic
#5C151A #3D5C15 #155C57 #34155C
square
#5C151A #3D5C15 #155C57 #34155C
split-complementary
#5C151A #155C34 #153D5C
monochromatic
#190607 #2A0A0C #5C151A #8E2028 #C02C36

Accessibility & contrast

On white

13.31
#5C151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5C151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C151A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C151A#FFFFFF#000000##FFFFFF
##5C151A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#660017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c151a;
/* rgb */ color: rgb(92, 21, 26);
/* oklch */ color: oklch(31.9% 0.102 21.5);
Tailwind
colors: {
  custom: {
    50: '#905856',
    500: '#5c151a',
    950: '#000000',
  },
}
SCSS
$custom: #5c151a;
$custom-light: #905856;
$custom-dark: #000000;
JSON
{
  "hex": "#5c151a",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 355.775,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31929,
    "c": 0.10231,
    "h": 21.5
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#5C151A
secondary
#39938D
accent
#E6DA42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5C151A

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

Preview Lab → · Contrast checker → · Palette generator →

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