#56121C#56121C

#56121C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.5% C 0.099 H 17.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#56121C
RGBrgb(86, 18, 28)
HSLhsl(351, 65%, 20%)
HSVhsv(351, 79%, 34%)
CMYKcmyk(0%, 79.1%, 67.4%, 66.3%)
CIE-LABlab(17.90, 31.55, 12.09)
CIE-LCHlch(17.90, 33.79, 20.97°)
OKLaboklab(30.45% 0.0941 0.0293)
OKLCHoklch(30.45% 0.099 17.3)
XYZxyz(4.2641, 2.4955, 1.3555)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56121C #12564C
analogous
#56123E #56121C #562A12
triadic
#56121C #1C5612 #121C56
tetradic
#56121C #3E5612 #12564C #2A1256
square
#56121C #3E5612 #12564C #2A1256
split-complementary
#56121C #12562A #123E56
monochromatic
#190508 #23070C #56121C #891D2C #BB273D

Accessibility & contrast

On white

14.01
#56121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#56121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56121C
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56121C#FFFFFF#000000##FFFFFF
##56121C1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231C
Deuteranopia (green-blind)
#36311A
Tritanopia (blue-blind)
#5F0016
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #56121c;
/* rgb */ color: rgb(86, 18, 28);
/* oklch */ color: oklch(30.5% 0.099 17.3);
Tailwind
colors: {
  custom: {
    50: '#8b5657',
    500: '#56121c',
    950: '#000000',
  },
}
SCSS
$custom: #56121c;
$custom-light: #8b5657;
$custom-dark: #000000;
JSON
{
  "hex": "#56121c",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 351.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.09858,
    "h": 17.3
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#56121C
secondary
#358F82
accent
#E8D03F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #56121C

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

Preview Lab → · Contrast checker → · Palette generator →

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