#56161F#56161F

#56161F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.094 H 16.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#56161F
RGBrgb(86, 22, 31)
HSLhsl(352, 59%, 21%)
HSVhsv(352, 74%, 34%)
CMYKcmyk(0%, 74.4%, 64%, 66.3%)
CIE-LABlab(18.59, 30.05, 10.88)
CIE-LCHlch(18.59, 31.96, 19.91°)
OKLaboklab(30.99% 0.09 0.0267)
OKLCHoklch(30.99% 0.094 16.5)
XYZxyz(4.3724, 2.6518, 1.5777)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56161F #16564D
analogous
#56163F #56161F #562D16
triadic
#56161F #1F5616 #161F56
tetradic
#56161F #3F5616 #16564D #2D1656
square
#56161F #3F5616 #16564D #2D1656
split-complementary
#56161F #16562D #163F56
monochromatic
#180609 #250A0D #56161F #872231 #B72F42

Accessibility & contrast

On white

13.72
#56161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56161F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56161F#FFFFFF#000000##FFFFFF
##56161F1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#37321D
Tritanopia (blue-blind)
#5F071A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #56161f;
/* rgb */ color: rgb(86, 22, 31);
/* oklch */ color: oklch(31.0% 0.094 16.5);
Tailwind
colors: {
  custom: {
    50: '#8a585a',
    500: '#56161f',
    950: '#000000',
  },
}
SCSS
$custom: #56161f;
$custom-light: #8a585a;
$custom-dark: #000000;
JSON
{
  "hex": "#56161f",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 351.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30991,
    "c": 0.09386,
    "h": 16.5
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#56161F
secondary
#3A8D82
accent
#E2CC45
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0303
muted
#7D7878

Preview Lab

Preview with #56161F

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

Preview Lab → · Contrast checker → · Palette generator →

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