#56170F#56170F

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

Color values

HEX#56170F
RGBrgb(86, 23, 15)
HSLhsl(7, 70%, 20%)
HSVhsv(7, 83%, 34%)
CMYKcmyk(0%, 73.3%, 82.6%, 66.3%)
CIE-LABlab(18.48, 28.58, 21.34)
CIE-LCHlch(18.48, 35.66, 36.74°)
OKLaboklab(30.82% 0.0817 0.048)
OKLCHoklch(30.82% 0.095 30.4)
XYZxyz(4.2308, 2.6263, 0.7360)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56170F #0F4E56
analogous
#560F2A #56170F #563B0F
triadic
#56170F #0F5617 #170F56
tetradic
#56170F #2A560F #0F4E56 #3B0F56
square
#56170F #2A560F #0F4E56 #3B0F56
split-complementary
#56170F #0F563B #0F2A56
monochromatic
#1A0705 #220906 #56170F #8A2518 #BE3321

Accessibility & contrast

On white

13.77
#56170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#56170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56170F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56170F#FFFFFF#000000##FFFFFF
##56170F1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#5F0516
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56170f;
/* rgb */ color: rgb(86, 23, 15);
/* oklch */ color: oklch(30.8% 0.095 30.4);
Tailwind
colors: {
  custom: {
    50: '#8c584e',
    500: '#56170f',
    950: '#000000',
  },
}
SCSS
$custom: #56170f;
$custom-light: #8c584e;
$custom-dark: #000000;
JSON
{
  "hex": "#56170f",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 6.761,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30818,
    "c": 0.09469,
    "h": 30.4
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#56170F
secondary
#318590
accent
#D9ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #56170F

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

Preview Lab → · Contrast checker → · Palette generator →

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