#56271B#56271B

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

Color values

HEX#56271B
RGBrgb(86, 39, 27)
HSLhsl(12, 52%, 22%)
HSVhsv(12, 69%, 34%)
CMYKcmyk(0%, 54.7%, 68.6%, 66.3%)
CIE-LABlab(21.98, 20.62, 17.93)
CIE-LCHlch(21.98, 27.33, 41.00°)
OKLaboklab(33.52% 0.0596 0.0423)
OKLCHoklch(33.52% 0.073 35.4)
XYZxyz(4.7615, 3.5092, 1.4633)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56271B #1B4A56
analogous
#561B2D #56271B #56441B
triadic
#56271B #1B5627 #271B56
tetradic
#56271B #2D561B #1B4A56 #441B56
square
#56271B #2D561B #1B4A56 #441B56
split-complementary
#56271B #1B5644 #1B2D56
monochromatic
#170B07 #27120C #56271B #853C2A #B35138

Accessibility & contrast

On white

12.34
#56271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56271B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56271B#FFFFFF#000000##FFFFFF
##56271B1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56271b;
/* rgb */ color: rgb(86, 39, 27);
/* oklch */ color: oklch(33.5% 0.073 35.4);
Tailwind
colors: {
  custom: {
    50: '#8a6257',
    500: '#56271b',
    950: '#000000',
  },
}
SCSS
$custom: #56271b;
$custom-light: #8a6257;
$custom-dark: #000000;
JSON
{
  "hex": "#56271b",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 12.203,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33518,
    "c": 0.07308,
    "h": 35.4
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#56271B
secondary
#417D8C
accent
#BEDC4C
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56271B

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

Preview Lab → · Contrast checker → · Palette generator →

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