#56171E#56171E

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

Color values

HEX#56171E
RGBrgb(86, 23, 30)
HSLhsl(353, 58%, 21%)
HSVhsv(353, 73%, 34%)
CMYKcmyk(0%, 73.3%, 65.1%, 66.3%)
CIE-LABlab(18.74, 29.51, 11.78)
CIE-LCHlch(18.74, 31.78, 21.76°)
OKLaboklab(31.09% 0.0881 0.0287)
OKLCHoklch(31.09% 0.093 18.1)
XYZxyz(4.3789, 2.6856, 1.5158)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56171E #17564F
analogous
#56173E #56171E #563017
triadic
#56171E #1E5617 #171E56
tetradic
#56171E #3E5617 #17564F #301756
square
#56171E #3E5617 #17564F #301756
split-complementary
#56171E #175630 #173E56
monochromatic
#180608 #260A0D #56171E #86242F #B73140

Accessibility & contrast

On white

13.66
#56171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56171E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56171E#FFFFFF#000000##FFFFFF
##56171E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#5F091A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #56171e;
/* rgb */ color: rgb(86, 23, 30);
/* oklch */ color: oklch(31.1% 0.093 18.1);
Tailwind
colors: {
  custom: {
    50: '#8a5959',
    500: '#56171e',
    950: '#000000',
  },
}
SCSS
$custom: #56171e;
$custom-light: #8a5959;
$custom-dark: #000000;
JSON
{
  "hex": "#56171e",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 353.333,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31093,
    "c": 0.09262,
    "h": 18.1
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#56171E
secondary
#3C8D84
accent
#E1D047
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0403
muted
#7D7978

Preview Lab

Preview with #56171E

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

Preview Lab → · Contrast checker → · Palette generator →

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