#56170D#56170D

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

Color values

HEX#56170D
RGBrgb(86, 23, 13)
HSLhsl(8, 74%, 19%)
HSVhsv(8, 85%, 34%)
CMYKcmyk(0%, 73.3%, 84.9%, 66.3%)
CIE-LABlab(18.46, 28.49, 22.32)
CIE-LCHlch(18.46, 36.19, 38.07°)
OKLaboklab(30.79% 0.0809 0.05)
OKLCHoklch(30.79% 0.095 31.7)
XYZxyz(4.2173, 2.6209, 0.6645)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56170D #0D4C56
analogous
#560D28 #56170D #563C0D
triadic
#56170D #0D5617 #170D56
tetradic
#56170D #28560D #0D4C56 #3C0D56
square
#56170D #28560D #0D4C56 #3C0D56
split-complementary
#56170D #0D563C #0D2856
monochromatic
#1B0704 #210905 #56170D #8B2515 #C0331D

Accessibility & contrast

On white

13.78
#56170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56170D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56170D#FFFFFF#000000##FFFFFF
##56170D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56170d;
/* rgb */ color: rgb(86, 23, 13);
/* oklch */ color: oklch(30.8% 0.095 31.7);
Tailwind
colors: {
  custom: {
    50: '#8c584d',
    500: '#56170d',
    950: '#000000',
  },
}
SCSS
$custom: #56170d;
$custom-light: #8c584d;
$custom-dark: #000000;
JSON
{
  "hex": "#56170d",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 8.219,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30792,
    "c": 0.09512,
    "h": 31.7
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#56170D
secondary
#2E8391
accent
#D7F037
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #56170D

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

Preview Lab → · Contrast checker → · Palette generator →

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