#56170E#56170E

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

Color values

HEX#56170E
RGBrgb(86, 23, 14)
HSLhsl(8, 72%, 20%)
HSVhsv(8, 84%, 34%)
CMYKcmyk(0%, 73.3%, 83.7%, 66.3%)
CIE-LABlab(18.47, 28.53, 21.84)
CIE-LCHlch(18.47, 35.93, 37.43°)
OKLaboklab(30.81% 0.0813 0.049)
OKLCHoklch(30.81% 0.095 31.1)
XYZxyz(4.2239, 2.6236, 0.6994)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56170E #0E4D56
analogous
#560E29 #56170E #563B0E
triadic
#56170E #0E5617 #170E56
tetradic
#56170E #29560E #0E4D56 #3B0E56
square
#56170E #29560E #0E4D56 #3B0E56
split-complementary
#56170E #0E563B #0E2956
monochromatic
#1A0704 #210905 #56170E #8B2517 #BF331F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56170E#FFFFFF#000000##FFFFFF
##56170E1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240C
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#5F0415
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56170e;
/* rgb */ color: rgb(86, 23, 14);
/* oklch */ color: oklch(30.8% 0.095 31.1);
Tailwind
colors: {
  custom: {
    50: '#8c584d',
    500: '#56170e',
    950: '#000000',
  },
}
SCSS
$custom: #56170e;
$custom-light: #8c584d;
$custom-dark: #000000;
JSON
{
  "hex": "#56170e",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 7.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.0949,
    "h": 31.1
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#56170E
secondary
#308490
accent
#D8EF39
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #56170E

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

Preview Lab → · Contrast checker → · Palette generator →

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