#56171A#56171A

#56171A is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.093 H 21.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#56171A
RGBrgb(86, 23, 26)
HSLhsl(357, 58%, 21%)
HSVhsv(357, 73%, 34%)
CMYKcmyk(0%, 73.3%, 69.8%, 66.3%)
CIE-LABlab(18.66, 29.21, 14.47)
CIE-LCHlch(18.66, 32.60, 26.35°)
OKLaboklab(31% 0.0862 0.0345)
OKLCHoklch(31% 0.093 21.8)
XYZxyz(4.3310, 2.6664, 1.2637)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56171A #175653
analogous
#56173A #56171A #563417
triadic
#56171A #1A5617 #171A56
tetradic
#56171A #3A5617 #175653 #341756
square
#56171A #3A5617 #175653 #341756
split-complementary
#56171A #175634 #173A56
monochromatic
#180607 #260A0B #56171A #862429 #B73137

Accessibility & contrast

On white

13.70
#56171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#56171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56171A
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56171A#FFFFFF#000000##FFFFFF
##56171A1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#383218
Tritanopia (blue-blind)
#5F0719
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56171a;
/* rgb */ color: rgb(86, 23, 26);
/* oklch */ color: oklch(31.0% 0.093 21.8);
Tailwind
colors: {
  custom: {
    50: '#8b5856',
    500: '#56171a',
    950: '#000000',
  },
}
SCSS
$custom: #56171a;
$custom-light: #8b5856;
$custom-dark: #000000;
JSON
{
  "hex": "#56171a",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357.143,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31004,
    "c": 0.09287,
    "h": 21.8
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#56171A
secondary
#3C8D89
accent
#E1DA47
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #56171A

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

Preview Lab → · Contrast checker → · Palette generator →

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