#5B221D#5B221D

#5B221D is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.6% C 0.085 H 27.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5B221D
RGBrgb(91, 34, 29)
HSLhsl(5, 52%, 24%)
HSVhsv(5, 68%, 36%)
CMYKcmyk(0%, 62.6%, 68.1%, 64.3%)
CIE-LABlab(21.79, 25.80, 16.58)
CIE-LCHlch(21.79, 30.67, 32.71°)
OKLaboklab(33.56% 0.0755 0.0394)
OKLCHoklch(33.56% 0.085 27.6)
XYZxyz(5.1087, 3.4576, 1.5605)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B221D #1D565B
analogous
#5B1D37 #5B221D #5B411D
triadic
#5B221D #1D5B22 #221D5B
tetradic
#5B221D #375B1D #1D565B #411D5B
square
#5B221D #375B1D #1D565B #411D5B
split-complementary
#5B221D #1D5B41 #1D375B
monochromatic
#170907 #2D110E #5B221D #89332C #B8453B

Accessibility & contrast

On white

12.42
#5B221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B221D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B221D#FFFFFF#000000##FFFFFF
##5B221D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#3F391C
Tritanopia (blue-blind)
#641721
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b221d;
/* rgb */ color: rgb(91, 34, 29);
/* oklch */ color: oklch(33.6% 0.085 27.6);
Tailwind
colors: {
  custom: {
    50: '#8e5f59',
    500: '#5b221d',
    950: '#000000',
  },
}
SCSS
$custom: #5b221d;
$custom-light: #8e5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b221d",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 4.839,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.08514,
    "h": 27.6
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#5B221D
secondary
#448A90
accent
#D0DB4D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B221D

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

Preview Lab → · Contrast checker → · Palette generator →

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