#56181F#56181F

#56181F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.091 H 17.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#56181F
RGBrgb(86, 24, 31)
HSLhsl(353, 56%, 22%)
HSVhsv(353, 72%, 34%)
CMYKcmyk(0%, 72.1%, 64%, 66.3%)
CIE-LABlab(18.93, 29.12, 11.34)
CIE-LCHlch(18.93, 31.25, 21.27°)
OKLaboklab(31.25% 0.087 0.0278)
OKLCHoklch(31.25% 0.091 17.7)
XYZxyz(4.4121, 2.7312, 1.5909)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56181F #18564F
analogous
#56183E #56181F #563018
triadic
#56181F #1F5618 #181F56
tetradic
#56181F #3E5618 #18564F #301856
square
#56181F #3E5618 #18564F #301856
split-complementary
#56181F #185630 #183E56
monochromatic
#180709 #260B0E #56181F #862530 #B63341

Accessibility & contrast

On white

13.58
#56181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#56181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56181F
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56181F#FFFFFF#000000##FFFFFF
##56181F1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#5F0B1B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #56181f;
/* rgb */ color: rgb(86, 24, 31);
/* oklch */ color: oklch(31.2% 0.091 17.7);
Tailwind
colors: {
  custom: {
    50: '#8a595a',
    500: '#56181f',
    950: '#000000',
  },
}
SCSS
$custom: #56181f;
$custom-light: #8a595a;
$custom-dark: #000000;
JSON
{
  "hex": "#56181f",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 353.226,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.09133,
    "h": 17.7
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#56181F
secondary
#3D8D84
accent
#E0CF48
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #56181F

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

Preview Lab → · Contrast checker → · Palette generator →

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