#5C1117#5C1117

#5C1117 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 21.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#5C1117
RGBrgb(92, 17, 23)
HSLhsl(355, 69%, 21%)
HSVhsv(355, 82%, 36%)
CMYKcmyk(0%, 81.5%, 75%, 63.9%)
CIE-LABlab(18.97, 33.71, 17.21)
CIE-LCHlch(18.97, 37.84, 27.05°)
OKLaboklab(31.45% 0.0989 0.0398)
OKLCHoklch(31.45% 0.107 21.9)
XYZxyz(4.7693, 2.7388, 1.0880)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1117 #115C56
analogous
#5C113D #5C1117 #5C3111
triadic
#5C1117 #175C11 #11175C
tetradic
#5C1117 #3D5C11 #115C56 #31115C
square
#5C1117 #3D5C11 #115C56 #31115C
split-complementary
#5C1117 #115C31 #113D5C
monochromatic
#1A0506 #28070A #5C1117 #901B24 #C32431

Accessibility & contrast

On white

13.57
#5C1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C1117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1117
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1117#FFFFFF#000000##FFFFFF
##5C11171.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#660014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1117;
/* rgb */ color: rgb(92, 17, 23);
/* oklch */ color: oklch(31.5% 0.107 21.9);
Tailwind
colors: {
  custom: {
    50: '#905753',
    500: '#5c1117',
    950: '#000000',
  },
}
SCSS
$custom: #5c1117;
$custom-light: #905753;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1117",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 355.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31451,
    "c": 0.10665,
    "h": 21.9
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#5C1117
secondary
#34958D
accent
#ECDE3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1117

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

Preview Lab → · Contrast checker → · Palette generator →

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