#5B2218#5B2218

#5B2218 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.5% C 0.086 H 31.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#5B2218
RGBrgb(91, 34, 24)
HSLhsl(9, 58%, 23%)
HSVhsv(9, 74%, 36%)
CMYKcmyk(0%, 62.6%, 73.6%, 64.3%)
CIE-LABlab(21.71, 25.46, 19.76)
CIE-LCHlch(21.71, 32.23, 37.82°)
OKLaboklab(33.47% 0.0733 0.0457)
OKLCHoklch(33.47% 0.086 31.9)
XYZxyz(5.0518, 3.4348, 1.2609)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2218 #18515B
analogous
#5B1830 #5B2218 #5B4318
triadic
#5B2218 #185B22 #22185B
tetradic
#5B2218 #305B18 #18515B #43185B
square
#5B2218 #305B18 #18515B #43185B
split-complementary
#5B2218 #185B43 #18305B
monochromatic
#180906 #2B100B #5B2218 #8B3425 #BC4632

Accessibility & contrast

On white

12.45
#5B2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5B2218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2218
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2218#FFFFFF#000000##FFFFFF
##5B22181.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C17
Deuteranopia (green-blind)
#3F3917
Tritanopia (blue-blind)
#641620
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b2218;
/* rgb */ color: rgb(91, 34, 24);
/* oklch */ color: oklch(33.5% 0.086 31.9);
Tailwind
colors: {
  custom: {
    50: '#8e5f55',
    500: '#5b2218',
    950: '#000000',
  },
}
SCSS
$custom: #5b2218;
$custom-light: #8e5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2218",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 8.955,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33474,
    "c": 0.0864,
    "h": 31.9
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#5B2218
secondary
#3D8592
accent
#CAE146
background
#F9F5F4
surface
#F1E9E8
border
#CBC5C4
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B2218

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

Preview Lab → · Contrast checker → · Palette generator →

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