#5B2018#5B2018

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

Color values

HEX#5B2018
RGBrgb(91, 32, 24)
HSLhsl(7, 58%, 23%)
HSVhsv(7, 74%, 36%)
CMYKcmyk(0%, 64.8%, 73.6%, 64.3%)
CIE-LABlab(21.30, 26.54, 19.28)
CIE-LCHlch(21.30, 32.80, 35.99°)
OKLaboklab(33.16% 0.0767 0.0446)
OKLCHoklch(33.16% 0.089 30.2)
XYZxyz(4.9963, 3.3238, 1.2424)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2018 #18535B
analogous
#5B1832 #5B2018 #5B4118
triadic
#5B2018 #185B20 #20185B
tetradic
#5B2018 #325B18 #18535B #41185B
square
#5B2018 #325B18 #18535B #41185B
split-complementary
#5B2018 #185B41 #18325B
monochromatic
#180906 #2B0F0B #5B2018 #8B3125 #BC4232

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B2018#FFFFFF#000000##FFFFFF
##5B20181.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)
#302B17
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#64131E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2018;
/* rgb */ color: rgb(91, 32, 24);
/* oklch */ color: oklch(33.2% 0.089 30.2);
Tailwind
colors: {
  custom: {
    50: '#8f5e55',
    500: '#5b2018',
    950: '#000000',
  },
}
SCSS
$custom: #5b2018;
$custom-light: #8f5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2018",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 7.164,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.08874,
    "h": 30.2
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#5B2018
secondary
#3D8792
accent
#CFE146
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B2018

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

Preview Lab → · Contrast checker → · Palette generator →

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