#862E17#862E17

#862E17 is a dark, vivid red. Relative luminance 0.071; OKLCH L 42.8% C 0.126 H 35.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#862E17
RGBrgb(134, 46, 23)
HSLhsl(12, 71%, 31%)
HSVhsv(12, 83%, 53%)
CMYKcmyk(0%, 65.7%, 82.8%, 47.5%)
CIE-LABlab(32.00, 36.50, 33.77)
CIE-LCHlch(32.00, 49.72, 42.77°)
OKLaboklab(42.77% 0.1024 0.0728)
OKLCHoklch(42.77% 0.126 35.4)
XYZxyz(10.9644, 7.0858, 1.6008)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E17 #176F86
analogous
#861738 #862E17 #866517
triadic
#862E17 #17862E #2E1786
tetradic
#862E17 #388617 #176F86 #651786
square
#862E17 #388617 #176F86 #651786
split-complementary
#862E17 #178665 #173886
monochromatic
#1E0A05 #521C0E #862E17 #BA4020 #DD5C3A

Accessibility & contrast

On white

8.69
#862E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#862E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E17
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E17#FFFFFF#000000##FFFFFF
##862E171.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#5D5313
Tritanopia (blue-blind)
#941629
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862e17;
/* rgb */ color: rgb(134, 46, 23);
/* oklch */ color: oklch(42.8% 0.126 35.4);
Tailwind
colors: {
  custom: {
    50: '#b16b56',
    500: '#862e17',
    950: '#000000',
  },
}
SCSS
$custom: #862e17;
$custom-light: #b16b56;
$custom-dark: #000000;
JSON
{
  "hex": "#862e17",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 12.432,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.1257,
    "h": 35.4
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#862E17
secondary
#3FA0BA
accent
#C8ED3A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #862E17

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

Preview Lab → · Contrast checker → · Palette generator →

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