#862D1F#862D1F

#862D1F is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.7% C 0.125 H 31.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#862D1F
RGBrgb(134, 45, 31)
HSLhsl(8, 62%, 32%)
HSVhsv(8, 77%, 53%)
CMYKcmyk(0%, 66.4%, 76.9%, 47.5%)
CIE-LABlab(31.91, 37.29, 29.18)
CIE-LCHlch(31.91, 47.35, 38.04°)
OKLaboklab(42.72% 0.1065 0.0653)
OKLCHoklch(42.72% 0.125 31.5)
XYZxyz(11.0184, 7.0456, 2.0758)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D1F #1F7886
analogous
#861F45 #862D1F #86601F
triadic
#862D1F #1F862D #2D1F86
tetradic
#862D1F #45861F #1F7886 #601F86
square
#862D1F #45861F #1F7886 #601F86
split-complementary
#862D1F #1F8660 #1F4586
monochromatic
#230C08 #541C14 #862D1F #B83E2A #D55D4A

Accessibility & contrast

On white

8.72
#862D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#862D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D1F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D1F#FFFFFF#000000##FFFFFF
##862D1F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#94152A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862d1f;
/* rgb */ color: rgb(134, 45, 31);
/* oklch */ color: oklch(42.7% 0.125 31.5);
Tailwind
colors: {
  custom: {
    50: '#b06b5b',
    500: '#862d1f',
    950: '#000000',
  },
}
SCSS
$custom: #862d1f;
$custom-light: #b06b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#862d1f",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 8.155,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.12489,
    "h": 31.5
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#862D1F
secondary
#49A9B8
accent
#CFE542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #862D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#862D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva