#56221B#56221B

#56221B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.7% C 0.079 H 29.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#56221B
RGBrgb(86, 34, 27)
HSLhsl(7, 52%, 22%)
HSVhsv(7, 69%, 34%)
CMYKcmyk(0%, 60.5%, 68.6%, 66.3%)
CIE-LABlab(20.84, 23.54, 16.52)
CIE-LCHlch(20.84, 28.76, 35.06°)
OKLaboklab(32.65% 0.0686 0.0392)
OKLCHoklch(32.65% 0.079 29.7)
XYZxyz(4.6080, 3.2022, 1.4121)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56221B #1B4F56
analogous
#561B32 #56221B #56401B
triadic
#56221B #1B5622 #221B56
tetradic
#56221B #32561B #1B4F56 #401B56
square
#56221B #32561B #1B4F56 #401B56
split-complementary
#56221B #1B5640 #1B3256
monochromatic
#170907 #27100C #56221B #85342A #B34738

Accessibility & contrast

On white

12.80
#56221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#56221B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56221B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56221B#FFFFFF#000000##FFFFFF
##56221B1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1A
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#5F1821
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56221b;
/* rgb */ color: rgb(86, 34, 27);
/* oklch */ color: oklch(32.7% 0.079 29.7);
Tailwind
colors: {
  custom: {
    50: '#8a5f57',
    500: '#56221b',
    950: '#000000',
  },
}
SCSS
$custom: #56221b;
$custom-light: #8a5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#56221b",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 7.119,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32651,
    "c": 0.07902,
    "h": 29.7
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#56221B
secondary
#41838C
accent
#CBDC4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #56221B

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

Preview Lab → · Contrast checker → · Palette generator →

#56221B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva