#862B1F#862B1F

#862B1F is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.5% C 0.127 H 30.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#862B1F
RGBrgb(134, 43, 31)
HSLhsl(7, 62%, 32%)
HSVhsv(7, 77%, 53%)
CMYKcmyk(0%, 67.9%, 76.9%, 47.5%)
CIE-LABlab(31.57, 38.20, 28.80)
CIE-LCHlch(31.57, 47.84, 37.01°)
OKLaboklab(42.47% 0.1094 0.0644)
OKLCHoklch(42.47% 0.127 30.5)
XYZxyz(10.9439, 6.8966, 2.0510)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B1F #1F7A86
analogous
#861F47 #862B1F #865E1F
triadic
#862B1F #1F862B #2B1F86
tetradic
#862B1F #47861F #1F7A86 #5E1F86
square
#862B1F #47861F #1F7A86 #5E1F86
split-complementary
#862B1F #1F865E #1F4786
monochromatic
#230B08 #541B14 #862B1F #B83B2A #D55A4A

Accessibility & contrast

On white

8.83
#862B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#862B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B1F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B1F#FFFFFF#000000##FFFFFF
##862B1F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#941129
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862b1f;
/* rgb */ color: rgb(134, 43, 31);
/* oklch */ color: oklch(42.5% 0.127 30.5);
Tailwind
colors: {
  custom: {
    50: '#b0695b',
    500: '#862b1f',
    950: '#000000',
  },
}
SCSS
$custom: #862b1f;
$custom-light: #b0695b;
$custom-dark: #000000;
JSON
{
  "hex": "#862b1f",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 31
  },
  "hsl": {
    "h": 6.99,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.12692,
    "h": 30.5
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#862B1F
secondary
#49ABB8
accent
#D2E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #862B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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