#56121B#56121B

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

Color values

HEX#56121B
RGBrgb(86, 18, 27)
HSLhsl(352, 65%, 20%)
HSVhsv(352, 79%, 34%)
CMYKcmyk(0%, 79.1%, 68.6%, 66.3%)
CIE-LABlab(17.88, 31.48, 12.77)
CIE-LCHlch(17.88, 33.97, 22.08°)
OKLaboklab(30.43% 0.0937 0.0307)
OKLCHoklch(30.43% 0.099 18.2)
XYZxyz(4.2523, 2.4908, 1.2936)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56121B #12564D
analogous
#56123D #56121B #562B12
triadic
#56121B #1B5612 #121B56
tetradic
#56121B #3D5612 #12564D #2B1256
square
#56121B #3D5612 #12564D #2B1256
split-complementary
#56121B #12562B #123D56
monochromatic
#190508 #23070B #56121B #891D2B #BB273B

Accessibility & contrast

On white

14.02
#56121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56121B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56121B#FFFFFF#000000##FFFFFF
##56121B1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#5F0016
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #56121b;
/* rgb */ color: rgb(86, 18, 27);
/* oklch */ color: oklch(30.4% 0.099 18.2);
Tailwind
colors: {
  custom: {
    50: '#8b5657',
    500: '#56121b',
    950: '#000000',
  },
}
SCSS
$custom: #56121b;
$custom-light: #8b5657;
$custom-dark: #000000;
JSON
{
  "hex": "#56121b",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 352.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30431,
    "c": 0.09859,
    "h": 18.2
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#56121B
secondary
#358F83
accent
#E8D23F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #56121B

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

Preview Lab → · Contrast checker → · Palette generator →

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