#56231A#56231A

#56231A is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.8% C 0.078 H 31.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#56231A
RGBrgb(86, 35, 26)
HSLhsl(9, 54%, 22%)
HSVhsv(9, 70%, 34%)
CMYKcmyk(0%, 59.3%, 69.8%, 66.3%)
CIE-LABlab(21.04, 22.89, 17.44)
CIE-LCHlch(21.04, 28.78, 37.29°)
OKLaboklab(32.8% 0.0664 0.0411)
OKLCHoklch(32.8% 0.078 31.8)
XYZxyz(4.6257, 3.2557, 1.3619)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56231A #1A4D56
analogous
#561A2F #56231A #56411A
triadic
#56231A #1A5623 #231A56
tetradic
#56231A #2F561A #1A4D56 #411A56
square
#56231A #2F561A #1A4D56 #411A56
split-complementary
#56231A #1A5641 #1A2F56
monochromatic
#170A07 #27100C #56231A #853628 #B44936

Accessibility & contrast

On white

12.72
#56231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#56231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56231A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56231A#FFFFFF#000000##FFFFFF
##56231A1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C19
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#5F1921
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56231a;
/* rgb */ color: rgb(86, 35, 26);
/* oklch */ color: oklch(32.8% 0.078 31.8);
Tailwind
colors: {
  custom: {
    50: '#8a5f56',
    500: '#56231a',
    950: '#000000',
  },
}
SCSS
$custom: #56231a;
$custom-light: #8a5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#56231a",
  "rgb": {
    "r": 86,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 9,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.328,
    "c": 0.07809,
    "h": 31.8
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#56231A
secondary
#40818C
accent
#C7DD4B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56231A

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

Preview Lab → · Contrast checker → · Palette generator →

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