#862F17#862F17

#862F17 is a dark, vivid red. Relative luminance 0.072; OKLCH L 42.9% C 0.125 H 35.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#862F17
RGBrgb(134, 47, 23)
HSLhsl(13, 71%, 31%)
HSVhsv(13, 83%, 53%)
CMYKcmyk(0%, 64.9%, 82.8%, 47.5%)
CIE-LABlab(32.18, 36.02, 33.94)
CIE-LCHlch(32.18, 49.49, 43.29°)
OKLaboklab(42.9% 0.101 0.0732)
OKLCHoklch(42.9% 0.125 35.9)
XYZxyz(11.0039, 7.1648, 1.6140)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F17 #176E86
analogous
#861736 #862F17 #866617
triadic
#862F17 #17862F #2F1786
tetradic
#862F17 #368617 #176E86 #661786
square
#862F17 #368617 #176E86 #661786
split-complementary
#862F17 #178666 #173686
monochromatic
#1E0A05 #521D0E #862F17 #BA4120 #DD5D3A

Accessibility & contrast

On white

8.63
#862F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#862F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F17
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F17#FFFFFF#000000##FFFFFF
##862F171.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#5D5313
Tritanopia (blue-blind)
#94182A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862f17;
/* rgb */ color: rgb(134, 47, 23);
/* oklch */ color: oklch(42.9% 0.125 35.9);
Tailwind
colors: {
  custom: {
    50: '#b16c56',
    500: '#862f17',
    950: '#000000',
  },
}
SCSS
$custom: #862f17;
$custom-light: #b16c56;
$custom-dark: #000000;
JSON
{
  "hex": "#862f17",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 12.973,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.429,
    "c": 0.12473,
    "h": 35.9
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#862F17
secondary
#3F9FBA
accent
#C7ED3A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #862F17

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

Preview Lab → · Contrast checker → · Palette generator →

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