#56271D#56271D

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

Color values

HEX#56271D
RGBrgb(86, 39, 29)
HSLhsl(11, 50%, 23%)
HSVhsv(11, 66%, 34%)
CMYKcmyk(0%, 54.7%, 66.3%, 66.3%)
CIE-LABlab(22.01, 20.78, 16.66)
CIE-LCHlch(22.01, 26.64, 38.72°)
OKLaboklab(33.56% 0.0605 0.0398)
OKLCHoklch(33.56% 0.072 33.3)
XYZxyz(4.7854, 3.5187, 1.5893)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56271D #1D4C56
analogous
#561D30 #56271D #56431D
triadic
#56271D #1D5627 #271D56
tetradic
#56271D #30561D #1D4C56 #431D56
square
#56271D #30561D #1D4C56 #431D56
split-complementary
#56271D #1D5643 #1D3056
monochromatic
#170A08 #28120E #56271D #843C2C #B2513C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56271D#FFFFFF#000000##FFFFFF
##56271D1.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)
#332E1C
Deuteranopia (green-blind)
#3E391C
Tritanopia (blue-blind)
#5E1F25
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56271d;
/* rgb */ color: rgb(86, 39, 29);
/* oklch */ color: oklch(33.6% 0.072 33.3);
Tailwind
colors: {
  custom: {
    50: '#896259',
    500: '#56271d',
    950: '#000000',
  },
}
SCSS
$custom: #56271d;
$custom-light: #896259;
$custom-dark: #000000;
JSON
{
  "hex": "#56271d",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 10.526,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33556,
    "c": 0.07235,
    "h": 33.3
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#56271D
secondary
#447F8B
accent
#C1D94F
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56271D

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

Preview Lab → · Contrast checker → · Palette generator →

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