#5C170E#5C170E

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

Color values

HEX#5C170E
RGBrgb(92, 23, 14)
HSLhsl(7, 74%, 21%)
HSVhsv(7, 85%, 36%)
CMYKcmyk(0%, 75%, 84.8%, 63.9%)
CIE-LABlab(19.72, 30.84, 23.61)
CIE-LCHlch(19.72, 38.84, 37.44°)
OKLaboklab(31.98% 0.0877 0.0521)
OKLCHoklch(31.98% 0.102 30.7)
XYZxyz(4.7999, 2.9205, 0.7264)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C170E #0E535C
analogous
#5C0E2C #5C170E #5C3E0E
triadic
#5C170E #0E5C17 #170E5C
tetradic
#5C170E #2C5C0E #0E535C #3E0E5C
square
#5C170E #2C5C0E #0E535C #3E0E5C
split-complementary
#5C170E #0E5C3E #0E2C5C
monochromatic
#1B0704 #270A06 #5C170E #912416 #C6321E

Accessibility & contrast

On white

13.26
#5C170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C170E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C170E#FFFFFF#000000##FFFFFF
##5C170E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#660116
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c170e;
/* rgb */ color: rgb(92, 23, 14);
/* oklch */ color: oklch(32.0% 0.102 30.7);
Tailwind
colors: {
  custom: {
    50: '#91594d',
    500: '#5c170e',
    950: '#000000',
  },
}
SCSS
$custom: #5c170e;
$custom-light: #91594d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c170e",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 6.923,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31976,
    "c": 0.10204,
    "h": 30.7
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#5C170E
secondary
#308A96
accent
#DBF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5C170E

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

Preview Lab → · Contrast checker → · Palette generator →

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