#5C151B#5C151B

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

Color values

HEX#5C151B
RGBrgb(92, 21, 27)
HSLhsl(355, 63%, 22%)
HSVhsv(355, 77%, 36%)
CMYKcmyk(0%, 77.2%, 70.7%, 63.9%)
CIE-LABlab(19.60, 32.37, 15.24)
CIE-LCHlch(19.60, 35.78, 25.20°)
OKLaboklab(31.95% 0.0957 0.0361)
OKLCHoklch(31.95% 0.102 20.7)
XYZxyz(4.8801, 2.8915, 1.3378)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C151B #155C56
analogous
#5C153E #5C151B #5C3315
triadic
#5C151B #1B5C15 #151B5C
tetradic
#5C151B #3E5C15 #155C56 #33155C
square
#5C151B #3E5C15 #155C56 #33155C
split-complementary
#5C151B #155C33 #153E5C
monochromatic
#190607 #2A0A0C #5C151B #8E202A #C02C38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C151B#FFFFFF#000000##FFFFFF
##5C151B1.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)
#29261B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#660118
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c151b;
/* rgb */ color: rgb(92, 21, 27);
/* oklch */ color: oklch(31.9% 0.102 20.7);
Tailwind
colors: {
  custom: {
    50: '#905857',
    500: '#5c151b',
    950: '#000000',
  },
}
SCSS
$custom: #5c151b;
$custom-light: #905857;
$custom-dark: #000000;
JSON
{
  "hex": "#5c151b",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 354.93,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31949,
    "c": 0.10223,
    "h": 20.7
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#5C151B
secondary
#39938C
accent
#E6D842
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5C151B

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

Preview Lab → · Contrast checker → · Palette generator →

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