#5B221E#5B221E

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

Color values

HEX#5B221E
RGBrgb(91, 34, 30)
HSLhsl(4, 50%, 24%)
HSVhsv(4, 67%, 36%)
CMYKcmyk(0%, 62.6%, 67%, 64.3%)
CIE-LABlab(21.81, 25.88, 15.93)
CIE-LCHlch(21.81, 30.39, 31.61°)
OKLaboklab(33.58% 0.0759 0.0381)
OKLCHoklch(33.58% 0.085 26.6)
XYZxyz(5.1212, 3.4626, 1.6267)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B221E #1E575B
analogous
#5B1E38 #5B221E #5B401E
triadic
#5B221E #1E5B22 #221E5B
tetradic
#5B221E #385B1E #1E575B #401E5B
square
#5B221E #385B1E #1E575B #401E5B
split-complementary
#5B221E #1E5B40 #1E385B
monochromatic
#170908 #2D110F #5B221E #89332D #B7443C

Accessibility & contrast

On white

12.41
#5B221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B221E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B221E#FFFFFF#000000##FFFFFF
##5B221E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1D
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#641721
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b221e;
/* rgb */ color: rgb(91, 34, 30);
/* oklch */ color: oklch(33.6% 0.085 26.6);
Tailwind
colors: {
  custom: {
    50: '#8e5f59',
    500: '#5b221e',
    950: '#000000',
  },
}
SCSS
$custom: #5b221e;
$custom-light: #8e5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b221e",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 3.934,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.08493,
    "h": 26.6
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#5B221E
secondary
#458B90
accent
#D1DA4E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B221E

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

Preview Lab → · Contrast checker → · Palette generator →

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