#562A1F#562A1F

#562A1F is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.1% C 0.068 H 35.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#562A1F
RGBrgb(86, 42, 31)
HSLhsl(12, 47%, 23%)
HSVhsv(12, 64%, 34%)
CMYKcmyk(0%, 51.2%, 64%, 66.3%)
CIE-LABlab(22.77, 19.14, 16.30)
CIE-LCHlch(22.77, 25.14, 40.41°)
OKLaboklab(34.15% 0.0558 0.0392)
OKLCHoklch(34.15% 0.068 35.1)
XYZxyz(4.9134, 3.7338, 1.7580)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A1F #1F4B56
analogous
#561F2F #562A1F #56451F
triadic
#562A1F #1F562A #2A1F56
tetradic
#562A1F #2F561F #1F4B56 #451F56
square
#562A1F #2F561F #1F4B56 #451F56
split-complementary
#562A1F #1F5645 #1F2F56
monochromatic
#160B08 #29140F #562A1F #83402F #B0563F

Accessibility & contrast

On white

12.02
#562A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#562A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A1F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A1F#FFFFFF#000000##FFFFFF
##562A1F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#5E2227
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #562a1f;
/* rgb */ color: rgb(86, 42, 31);
/* oklch */ color: oklch(34.1% 0.068 35.1);
Tailwind
colors: {
  custom: {
    50: '#89645a',
    500: '#562a1f',
    950: '#000000',
  },
}
SCSS
$custom: #562a1f;
$custom-light: #89645a;
$custom-dark: #000000;
JSON
{
  "hex": "#562a1f",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 12,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34146,
    "c": 0.06813,
    "h": 35.1
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#562A1F
secondary
#467D8B
accent
#BCD751
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0504
muted
#7D7A79

Preview Lab

Preview with #562A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#562A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva