#56271E#56271E

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

Color values

HEX#56271E
RGBrgb(86, 39, 30)
HSLhsl(10, 48%, 23%)
HSVhsv(10, 65%, 34%)
CMYKcmyk(0%, 54.7%, 65.1%, 66.3%)
CIE-LABlab(22.03, 20.87, 16.02)
CIE-LCHlch(22.03, 26.31, 37.52°)
OKLaboklab(33.58% 0.0609 0.0384)
OKLCHoklch(33.58% 0.072 32.2)
XYZxyz(4.7980, 3.5238, 1.6555)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56271E #1E4D56
analogous
#561E31 #56271E #56431E
triadic
#56271E #1E5627 #271E56
tetradic
#56271E #31561E #1E4D56 #431E56
square
#56271E #31561E #1E4D56 #431E56
split-complementary
#56271E #1E5643 #1E3156
monochromatic
#170A08 #29120E #56271E #833C2E #B1503E

Accessibility & contrast

On white

12.32
#56271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56271E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56271E#FFFFFF#000000##FFFFFF
##56271E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#3E391D
Tritanopia (blue-blind)
#5E1F25
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56271e;
/* rgb */ color: rgb(86, 39, 30);
/* oklch */ color: oklch(33.6% 0.072 32.2);
Tailwind
colors: {
  custom: {
    50: '#89625a',
    500: '#56271e',
    950: '#000000',
  },
}
SCSS
$custom: #56271e;
$custom-light: #89625a;
$custom-dark: #000000;
JSON
{
  "hex": "#56271e",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 9.643,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33575,
    "c": 0.07201,
    "h": 32.2
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#56271E
secondary
#45808B
accent
#C2D850
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56271E

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

Preview Lab → · Contrast checker → · Palette generator →

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