#56281F#56281F

#56281F is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.8% C 0.070 H 32.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#56281F
RGBrgb(86, 40, 31)
HSLhsl(10, 47%, 23%)
HSVhsv(10, 64%, 34%)
CMYKcmyk(0%, 53.5%, 64%, 66.3%)
CIE-LABlab(22.29, 20.35, 15.68)
CIE-LCHlch(22.29, 25.70, 37.62°)
OKLaboklab(33.78% 0.0595 0.0378)
OKLCHoklch(33.78% 0.07 32.4)
XYZxyz(4.8443, 3.5955, 1.7349)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56281F #1F4D56
analogous
#561F31 #56281F #56431F
triadic
#56281F #1F5628 #281F56
tetradic
#56281F #31561F #1F4D56 #431F56
square
#56281F #31561F #1F4D56 #431F56
split-complementary
#56281F #1F5643 #1F3156
monochromatic
#160A08 #29130F #56281F #833D2F #B0523F

Accessibility & contrast

On white

12.22
#56281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#56281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56281F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56281F#FFFFFF#000000##FFFFFF
##56281F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3F391E
Tritanopia (blue-blind)
#5E2026
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56281f;
/* rgb */ color: rgb(86, 40, 31);
/* oklch */ color: oklch(33.8% 0.070 32.4);
Tailwind
colors: {
  custom: {
    50: '#89635a',
    500: '#56281f',
    950: '#000000',
  },
}
SCSS
$custom: #56281f;
$custom-light: #89635a;
$custom-dark: #000000;
JSON
{
  "hex": "#56281f",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 9.818,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33776,
    "c": 0.07047,
    "h": 32.4
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#56281F
secondary
#46808B
accent
#C1D751
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979

Preview Lab

Preview with #56281F

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

Preview Lab → · Contrast checker → · Palette generator →

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