#5C2017#5C2017

#5C2017 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.090 H 30.9°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5C2017
RGBrgb(92, 32, 23)
HSLhsl(8, 60%, 23%)
HSVhsv(8, 75%, 36%)
CMYKcmyk(0%, 65.2%, 75%, 63.9%)
CIE-LABlab(21.47, 26.89, 20.18)
CIE-LCHlch(21.47, 33.62, 36.89°)
OKLaboklab(33.33% 0.0774 0.0464)
OKLCHoklch(33.33% 0.09 30.9)
XYZxyz(5.0853, 3.3709, 1.1933)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2017 #17535C
analogous
#5C1731 #5C2017 #5C4217
triadic
#5C2017 #175C20 #20175C
tetradic
#5C2017 #315C17 #17535C #42175C
square
#5C2017 #315C17 #17535C #42175C
split-complementary
#5C2017 #175C42 #17315C
monochromatic
#180906 #2B0F0B #5C2017 #8D3123 #BE422F

Accessibility & contrast

On white

12.54
#5C2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2017
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2017#FFFFFF#000000##FFFFFF
##5C20171.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B16
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#66131E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c2017;
/* rgb */ color: rgb(92, 32, 23);
/* oklch */ color: oklch(33.3% 0.090 30.9);
Tailwind
colors: {
  custom: {
    50: '#8f5e54',
    500: '#5c2017',
    950: '#000000',
  },
}
SCSS
$custom: #5c2017;
$custom-light: #8f5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2017",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 7.826,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33328,
    "c": 0.09027,
    "h": 30.9
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#5C2017
secondary
#3C8793
accent
#CEE345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5C2017

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

Preview Lab → · Contrast checker → · Palette generator →

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