#56171C#56171C

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

Color values

HEX#56171C
RGBrgb(86, 23, 28)
HSLhsl(355, 58%, 21%)
HSVhsv(355, 73%, 34%)
CMYKcmyk(0%, 73.3%, 67.4%, 66.3%)
CIE-LABlab(18.70, 29.36, 13.13)
CIE-LCHlch(18.70, 32.16, 24.09°)
OKLaboklab(31.05% 0.0871 0.0316)
OKLCHoklch(31.05% 0.093 20)
XYZxyz(4.3542, 2.6757, 1.3856)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56171C #175651
analogous
#56173C #56171C #563217
triadic
#56171C #1C5617 #171C56
tetradic
#56171C #3C5617 #175651 #321756
square
#56171C #3C5617 #175651 #321756
split-complementary
#56171C #175632 #173C56
monochromatic
#180608 #260A0C #56171C #86242C #B7313B

Accessibility & contrast

On white

13.68
#56171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#56171C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56171C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56171C#FFFFFF#000000##FFFFFF
##56171C1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251C
Deuteranopia (green-blind)
#38321A
Tritanopia (blue-blind)
#5F0819
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56171c;
/* rgb */ color: rgb(86, 23, 28);
/* oklch */ color: oklch(31.0% 0.093 20.0);
Tailwind
colors: {
  custom: {
    50: '#8b5957',
    500: '#56171c',
    950: '#000000',
  },
}
SCSS
$custom: #56171c;
$custom-light: #8b5957;
$custom-dark: #000000;
JSON
{
  "hex": "#56171c",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 355.238,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31047,
    "c": 0.09271,
    "h": 20
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#56171C
secondary
#3C8D87
accent
#E1D547
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0403
muted
#7D7978

Preview Lab

Preview with #56171C

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

Preview Lab → · Contrast checker → · Palette generator →

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