#56131F#56131F

#56131F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.6% C 0.097 H 15.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#56131F
RGBrgb(86, 19, 31)
HSLhsl(349, 64%, 21%)
HSVhsv(349, 78%, 34%)
CMYKcmyk(0%, 77.9%, 64%, 66.3%)
CIE-LABlab(18.12, 31.37, 10.25)
CIE-LCHlch(18.12, 33.00, 18.09°)
OKLaboklab(30.64% 0.0942 0.0252)
OKLCHoklch(30.64% 0.097 15)
XYZxyz(4.3184, 2.5437, 1.5597)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56131F #13564A
analogous
#561340 #56131F #562813
triadic
#56131F #1F5613 #131F56
tetradic
#56131F #405613 #13564A #281356
square
#56131F #405613 #13564A #281356
split-complementary
#56131F #135628 #134056
monochromatic
#190609 #24080D #56131F #881E31 #BA2943

Accessibility & contrast

On white

13.92
#56131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#56131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56131F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56131F#FFFFFF#000000##FFFFFF
##56131F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231F
Deuteranopia (green-blind)
#36311D
Tritanopia (blue-blind)
#5F0318
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #56131f;
/* rgb */ color: rgb(86, 19, 31);
/* oklch */ color: oklch(30.6% 0.097 15.0);
Tailwind
colors: {
  custom: {
    50: '#8b575a',
    500: '#56131f',
    950: '#000000',
  },
}
SCSS
$custom: #56131f;
$custom-light: #8b575a;
$custom-dark: #000000;
JSON
{
  "hex": "#56131f",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 349.254,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30637,
    "c": 0.09749,
    "h": 15
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#56131F
secondary
#368E7F
accent
#E7C941
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0303
muted
#7D7878

Preview Lab

Preview with #56131F

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

Preview Lab → · Contrast checker → · Palette generator →

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