#56271A#56271A

#56271A is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.5% C 0.073 H 36.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#56271A
RGBrgb(86, 39, 26)
HSLhsl(13, 54%, 22%)
HSVhsv(13, 70%, 34%)
CMYKcmyk(0%, 54.7%, 69.8%, 66.3%)
CIE-LABlab(21.96, 20.55, 18.56)
CIE-LCHlch(21.96, 27.69, 42.09°)
OKLaboklab(33.5% 0.0591 0.0436)
OKLCHoklch(33.5% 0.073 36.4)
XYZxyz(4.7501, 3.5046, 1.4034)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56271A #1A4956
analogous
#561A2B #56271A #56451A
triadic
#56271A #1A5627 #271A56
tetradic
#56271A #2B561A #1A4956 #451A56
square
#56271A #2B561A #1A4956 #451A56
split-complementary
#56271A #1A5645 #1A2B56
monochromatic
#170B07 #27120C #56271A #853C28 #B45236

Accessibility & contrast

On white

12.35
#56271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#56271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56271A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56271A#FFFFFF#000000##FFFFFF
##56271A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#3F3819
Tritanopia (blue-blind)
#5F1E24
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56271a;
/* rgb */ color: rgb(86, 39, 26);
/* oklch */ color: oklch(33.5% 0.073 36.4);
Tailwind
colors: {
  custom: {
    50: '#8a6256',
    500: '#56271a',
    950: '#000000',
  },
}
SCSS
$custom: #56271a;
$custom-light: #8a6256;
$custom-dark: #000000;
JSON
{
  "hex": "#56271a",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 13,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.335,
    "c": 0.07346,
    "h": 36.4
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#56271A
secondary
#407C8C
accent
#BDDD4B
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56271A

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

Preview Lab → · Contrast checker → · Palette generator →

#56271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva