#5C151F#5C151F

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

Color values

HEX#5C151F
RGBrgb(92, 21, 31)
HSLhsl(352, 63%, 22%)
HSVhsv(352, 77%, 36%)
CMYKcmyk(0%, 77.2%, 66.3%, 63.9%)
CIE-LABlab(19.69, 32.65, 12.56)
CIE-LCHlch(19.69, 34.98, 21.03°)
OKLaboklab(32.04% 0.0974 0.0304)
OKLCHoklch(32.04% 0.102 17.4)
XYZxyz(4.9296, 2.9113, 1.5984)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C151F #155C52
analogous
#5C1543 #5C151F #5C2E15
triadic
#5C151F #1F5C15 #151F5C
tetradic
#5C151F #435C15 #155C52 #2E155C
square
#5C151F #435C15 #155C52 #2E155C
split-complementary
#5C151F #155C2E #15435C
monochromatic
#190608 #2A0A0E #5C151F #8E2030 #C02C41

Accessibility & contrast

On white

13.27
#5C151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C151F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C151F#FFFFFF#000000##FFFFFF
##5C151F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#650219
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c151f;
/* rgb */ color: rgb(92, 21, 31);
/* oklch */ color: oklch(32.0% 0.102 17.4);
Tailwind
colors: {
  custom: {
    50: '#8f595a',
    500: '#5c151f',
    950: '#000000',
  },
}
SCSS
$custom: #5c151f;
$custom-light: #8f595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c151f",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 351.549,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32036,
    "c": 0.10207,
    "h": 17.4
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#5C151F
secondary
#399387
accent
#E6CF42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C151F

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

Preview Lab → · Contrast checker → · Palette generator →

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