#56170B#56170B

#56170B is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.096 H 32.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#56170B
RGBrgb(86, 23, 11)
HSLhsl(10, 77%, 19%)
HSVhsv(10, 87%, 34%)
CMYKcmyk(0%, 73.3%, 87.2%, 66.3%)
CIE-LABlab(18.44, 28.41, 23.20)
CIE-LCHlch(18.44, 36.68, 39.24°)
OKLaboklab(30.77% 0.0803 0.0519)
OKLCHoklch(30.77% 0.096 32.9)
XYZxyz(4.2050, 2.6160, 0.6001)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56170B #0B4A56
analogous
#560B25 #56170B #563D0B
triadic
#56170B #0B5617 #170B56
tetradic
#56170B #25560B #0B4A56 #3D0B56
square
#56170B #25560B #0B4A56 #3D0B56
split-complementary
#56170B #0B563D #0B2556
monochromatic
#1B0703 #200804 #56170B #8C2612 #C33419

Accessibility & contrast

On white

13.79
#56170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#56170B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56170B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56170B#FFFFFF#000000##FFFFFF
##56170B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292409
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#5F0415
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56170b;
/* rgb */ color: rgb(86, 23, 11);
/* oklch */ color: oklch(30.8% 0.096 32.9);
Tailwind
colors: {
  custom: {
    50: '#8c584c',
    500: '#56170b',
    950: '#000000',
  },
}
SCSS
$custom: #56170b;
$custom-light: #8c584c;
$custom-dark: #000000;
JSON
{
  "hex": "#56170b",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 9.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30769,
    "c": 0.09554,
    "h": 32.9
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#56170B
secondary
#2B8191
accent
#D5F434
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #56170B

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

Preview Lab → · Contrast checker → · Palette generator →

#56170B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva