#5C1017#5C1017

#5C1017 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.108 H 21.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#5C1017
RGBrgb(92, 16, 23)
HSLhsl(354, 70%, 21%)
HSVhsv(354, 83%, 36%)
CMYKcmyk(0%, 82.6%, 75%, 63.9%)
CIE-LABlab(18.84, 34.07, 17.05)
CIE-LCHlch(18.84, 38.10, 26.59°)
OKLaboklab(31.36% 0.1001 0.0395)
OKLCHoklch(31.36% 0.108 21.5)
XYZxyz(4.7541, 2.7085, 1.0829)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1017 #105C55
analogous
#5C103D #5C1017 #5C2F10
triadic
#5C1017 #175C10 #10175C
tetradic
#5C1017 #3D5C10 #105C55 #2F105C
square
#5C1017 #3D5C10 #105C55 #2F105C
split-complementary
#5C1017 #105C2F #103D5C
monochromatic
#1A0507 #28070A #5C1017 #901924 #C42231

Accessibility & contrast

On white

13.62
#5C1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5C1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1017
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1017#FFFFFF#000000##FFFFFF
##5C10171.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1017;
/* rgb */ color: rgb(92, 16, 23);
/* oklch */ color: oklch(31.4% 0.108 21.5);
Tailwind
colors: {
  custom: {
    50: '#915653',
    500: '#5c1017',
    950: '#000000',
  },
}
SCSS
$custom: #5c1017;
$custom-light: #915653;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1017",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 354.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.1076,
    "h": 21.5
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#5C1017
secondary
#33958C
accent
#EDDD3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1017

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

Preview Lab → · Contrast checker → · Palette generator →

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