#56120C#56120C

#56120C is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.2% C 0.100 H 29.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#56120C
RGBrgb(86, 18, 12)
HSLhsl(5, 76%, 19%)
HSVhsv(5, 86%, 34%)
CMYKcmyk(0%, 79.1%, 86%, 66.3%)
CIE-LABlab(17.64, 30.67, 21.81)
CIE-LCHlch(17.64, 37.63, 35.42°)
OKLaboklab(30.18% 0.0875 0.0492)
OKLCHoklch(30.18% 0.1 29.3)
XYZxyz(4.1209, 2.4382, 0.6014)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56120C #0C5056
analogous
#560C2B #56120C #56370C
triadic
#56120C #0C5612 #120C56
tetradic
#56120C #2B560C #0C5056 #370C56
square
#56120C #2B560C #0C5056 #370C56
split-complementary
#56120C #0C5637 #0C2B56
monochromatic
#1B0604 #200705 #56120C #8C1D13 #C1281B

Accessibility & contrast

On white

14.12
#56120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#56120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56120C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56120C#FFFFFF#000000##FFFFFF
##56120C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220B
Deuteranopia (green-blind)
#373109
Tritanopia (blue-blind)
#600011
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #56120c;
/* rgb */ color: rgb(86, 18, 12);
/* oklch */ color: oklch(30.2% 0.100 29.3);
Tailwind
colors: {
  custom: {
    50: '#8c564c',
    500: '#56120c',
    950: '#000000',
  },
}
SCSS
$custom: #56120c;
$custom-light: #8c564c;
$custom-dark: #000000;
JSON
{
  "hex": "#56120c",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 4.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.10035,
    "h": 29.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#56120C
secondary
#2D8991
accent
#E3F236
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #56120C

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

Preview Lab → · Contrast checker → · Palette generator →

#56120C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva