#56231D#56231D

#56231D is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.9% C 0.077 H 28.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#56231D
RGBrgb(86, 35, 29)
HSLhsl(6, 50%, 23%)
HSVhsv(6, 66%, 34%)
CMYKcmyk(0%, 59.3%, 66.3%, 66.3%)
CIE-LABlab(21.09, 23.13, 15.51)
CIE-LCHlch(21.09, 27.84, 33.84°)
OKLaboklab(32.86% 0.0677 0.0372)
OKLCHoklch(32.86% 0.077 28.7)
XYZxyz(4.6610, 3.2698, 1.5478)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56231D #1D5056
analogous
#561D33 #56231D #56401D
triadic
#56231D #1D5623 #231D56
tetradic
#56231D #33561D #1D5056 #401D56
square
#56231D #33561D #1D5056 #401D56
split-complementary
#56231D #1D5640 #1D3356
monochromatic
#170908 #28100E #56231D #84362C #B2483C

Accessibility & contrast

On white

12.70
#56231D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56231D
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56231D#FFFFFF#000000##FFFFFF
##56231D1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1C
Deuteranopia (green-blind)
#3C371C
Tritanopia (blue-blind)
#5F1A22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56231d;
/* rgb */ color: rgb(86, 35, 29);
/* oklch */ color: oklch(32.9% 0.077 28.7);
Tailwind
colors: {
  custom: {
    50: '#8a6059',
    500: '#56231d',
    950: '#000000',
  },
}
SCSS
$custom: #56231d;
$custom-light: #8a6059;
$custom-dark: #000000;
JSON
{
  "hex": "#56231d",
  "rgb": {
    "r": 86,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 6.316,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.07725,
    "h": 28.7
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#56231D
secondary
#44848B
accent
#CBD94F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #56231D

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

Preview Lab → · Contrast checker → · Palette generator →

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