#5B2017#5B2017

#5B2017 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.089 H 31.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5B2017
RGBrgb(91, 32, 23)
HSLhsl(8, 60%, 22%)
HSVhsv(8, 75%, 36%)
CMYKcmyk(0%, 64.8%, 74.7%, 64.3%)
CIE-LABlab(21.28, 26.48, 19.91)
CIE-LCHlch(21.28, 33.13, 36.94°)
OKLaboklab(33.15% 0.0763 0.0458)
OKLCHoklch(33.15% 0.089 31)
XYZxyz(4.9861, 3.3197, 1.1887)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2017 #17525B
analogous
#5B1730 #5B2017 #5B4217
triadic
#5B2017 #175B20 #20175B
tetradic
#5B2017 #305B17 #17525B #42175B
square
#5B2017 #305B17 #17525B #42175B
split-complementary
#5B2017 #175B42 #17305B
monochromatic
#180906 #2A0F0B #5B2017 #8C3123 #BD4230

Accessibility & contrast

On white

12.62
#5B2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5B2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2017
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2017#FFFFFF#000000##FFFFFF
##5B20171.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b2017;
/* rgb */ color: rgb(91, 32, 23);
/* oklch */ color: oklch(33.1% 0.089 31.0);
Tailwind
colors: {
  custom: {
    50: '#8f5e54',
    500: '#5b2017',
    950: '#000000',
  },
}
SCSS
$custom: #5b2017;
$custom-light: #8f5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2017",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 7.941,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33148,
    "c": 0.08899,
    "h": 31
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#5B2017
secondary
#3C8692
accent
#CEE345
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2017

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

Preview Lab → · Contrast checker → · Palette generator →

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