#56231C#56231C

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

Color values

HEX#56231C
RGBrgb(86, 35, 28)
HSLhsl(7, 51%, 22%)
HSVhsv(7, 67%, 34%)
CMYKcmyk(0%, 59.3%, 67.4%, 66.3%)
CIE-LABlab(21.07, 23.05, 16.15)
CIE-LCHlch(21.07, 28.14, 35.02°)
OKLaboklab(32.84% 0.0673 0.0385)
OKLCHoklch(32.84% 0.078 29.8)
XYZxyz(4.6488, 3.2649, 1.4838)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56231C #1C4F56
analogous
#561C32 #56231C #56401C
triadic
#56231C #1C5623 #231C56
tetradic
#56231C #32561C #1C4F56 #401C56
square
#56231C #32561C #1C4F56 #401C56
split-complementary
#56231C #1C5640 #1C3256
monochromatic
#170908 #28100D #56231C #84362B #B2493A

Accessibility & contrast

On white

12.71
#56231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56231C
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56231C#FFFFFF#000000##FFFFFF
##56231C1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1B
Deuteranopia (green-blind)
#3D371B
Tritanopia (blue-blind)
#5F1A21
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56231c;
/* rgb */ color: rgb(86, 35, 28);
/* oklch */ color: oklch(32.8% 0.078 29.8);
Tailwind
colors: {
  custom: {
    50: '#8a6058',
    500: '#56231c',
    950: '#000000',
  },
}
SCSS
$custom: #56231c;
$custom-light: #8a6058;
$custom-dark: #000000;
JSON
{
  "hex": "#56231c",
  "rgb": {
    "r": 86,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 7.241,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.07751,
    "h": 29.8
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#56231C
secondary
#42838C
accent
#C9DA4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56231C

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

Preview Lab → · Contrast checker → · Palette generator →

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