#56121F#56121F

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

Color values

HEX#56121F
RGBrgb(86, 18, 31)
HSLhsl(349, 65%, 20%)
HSVhsv(349, 79%, 34%)
CMYKcmyk(0%, 79.1%, 64%, 66.3%)
CIE-LABlab(17.97, 31.78, 10.05)
CIE-LCHlch(17.97, 33.33, 17.55°)
OKLaboklab(30.53% 0.0955 0.0248)
OKLCHoklch(30.53% 0.099 14.5)
XYZxyz(4.3018, 2.5106, 1.5541)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56121F #125649
analogous
#561241 #56121F #562712
triadic
#56121F #1F5612 #121F56
tetradic
#56121F #415612 #125649 #271256
square
#56121F #415612 #125649 #271256
split-complementary
#56121F #125627 #124156
monochromatic
#190509 #23070D #56121F #891D31 #BB2743

Accessibility & contrast

On white

13.98
#56121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56121F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56121F#FFFFFF#000000##FFFFFF
##56121F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56121f;
/* rgb */ color: rgb(86, 18, 31);
/* oklch */ color: oklch(30.5% 0.099 14.5);
Tailwind
colors: {
  custom: {
    50: '#8b565a',
    500: '#56121f',
    950: '#000000',
  },
}
SCSS
$custom: #56121f;
$custom-light: #8b565a;
$custom-dark: #000000;
JSON
{
  "hex": "#56121f",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 348.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.09866,
    "h": 14.5
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#56121F
secondary
#358F7E
accent
#E8C83F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0303
muted
#7D7878

Preview Lab

Preview with #56121F

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

Preview Lab → · Contrast checker → · Palette generator →

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