#56271C#56271C

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

Color values

HEX#56271C
RGBrgb(86, 39, 28)
HSLhsl(11, 51%, 22%)
HSVhsv(11, 67%, 34%)
CMYKcmyk(0%, 54.7%, 67.4%, 66.3%)
CIE-LABlab(21.99, 20.70, 17.30)
CIE-LCHlch(21.99, 26.98, 39.88°)
OKLaboklab(33.54% 0.06 0.0411)
OKLCHoklch(33.54% 0.073 34.4)
XYZxyz(4.7733, 3.5139, 1.5253)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56271C #1C4B56
analogous
#561C2E #56271C #56441C
triadic
#56271C #1C5627 #271C56
tetradic
#56271C #2E561C #1C4B56 #441C56
square
#56271C #2E561C #1C4B56 #441C56
split-complementary
#56271C #1C5644 #1C2E56
monochromatic
#170A08 #28120D #56271C #843C2B #B2513A

Accessibility & contrast

On white

12.33
#56271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56271C
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56271C#FFFFFF#000000##FFFFFF
##56271C1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56271c;
/* rgb */ color: rgb(86, 39, 28);
/* oklch */ color: oklch(33.5% 0.073 34.4);
Tailwind
colors: {
  custom: {
    50: '#896258',
    500: '#56271c',
    950: '#000000',
  },
}
SCSS
$custom: #56271c;
$custom-light: #896258;
$custom-dark: #000000;
JSON
{
  "hex": "#56271c",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 11.379,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33537,
    "c": 0.07271,
    "h": 34.4
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#56271C
secondary
#427E8C
accent
#C0DA4D
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56271C

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

Preview Lab → · Contrast checker → · Palette generator →

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