#862A1F#862A1F

#862A1F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.128 H 30.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#862A1F
RGBrgb(134, 42, 31)
HSLhsl(6, 62%, 32%)
HSVhsv(6, 77%, 53%)
CMYKcmyk(0%, 68.7%, 76.9%, 47.5%)
CIE-LABlab(31.40, 38.65, 28.62)
CIE-LCHlch(31.40, 48.09, 36.52°)
OKLaboklab(42.34% 0.1108 0.064)
OKLCHoklch(42.34% 0.128 30)
XYZxyz(10.9080, 6.8248, 2.0390)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A1F #1F7B86
analogous
#861F47 #862A1F #865E1F
triadic
#862A1F #1F862A #2A1F86
tetradic
#862A1F #47861F #1F7B86 #5E1F86
square
#862A1F #47861F #1F7B86 #5E1F86
split-complementary
#862A1F #1F865E #1F4786
monochromatic
#230B08 #541A14 #862A1F #B83A2A #D5594A

Accessibility & contrast

On white

8.88
#862A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#862A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A1F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A1F#FFFFFF#000000##FFFFFF
##862A1F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#940F28
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862a1f;
/* rgb */ color: rgb(134, 42, 31);
/* oklch */ color: oklch(42.3% 0.128 30.0);
Tailwind
colors: {
  custom: {
    50: '#b0695b',
    500: '#862a1f',
    950: '#000000',
  },
}
SCSS
$custom: #862a1f;
$custom-light: #b0695b;
$custom-dark: #000000;
JSON
{
  "hex": "#862a1f",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 6.408,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.12793,
    "h": 30
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#862A1F
secondary
#49ACB8
accent
#D4E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #862A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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