#862D17#862D17

#862D17 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.6% C 0.127 H 34.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#862D17
RGBrgb(134, 45, 23)
HSLhsl(12, 71%, 31%)
HSVhsv(12, 83%, 53%)
CMYKcmyk(0%, 66.4%, 82.8%, 47.5%)
CIE-LABlab(31.83, 36.96, 33.60)
CIE-LCHlch(31.83, 49.95, 42.27°)
OKLaboklab(42.63% 0.1039 0.0725)
OKLCHoklch(42.63% 0.127 34.9)
XYZxyz(10.9258, 7.0086, 1.5879)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D17 #177086
analogous
#861738 #862D17 #866417
triadic
#862D17 #17862D #2D1786
tetradic
#862D17 #388617 #177086 #641786
square
#862D17 #388617 #177086 #641786
split-complementary
#862D17 #178664 #173886
monochromatic
#1E0A05 #521B0E #862D17 #BA3F20 #DD5A3A

Accessibility & contrast

On white

8.74
#862D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#862D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D17
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D17#FFFFFF#000000##FFFFFF
##862D171.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E14
Deuteranopia (green-blind)
#5C5213
Tritanopia (blue-blind)
#941429
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862d17;
/* rgb */ color: rgb(134, 45, 23);
/* oklch */ color: oklch(42.6% 0.127 34.9);
Tailwind
colors: {
  custom: {
    50: '#b16a56',
    500: '#862d17',
    950: '#000000',
  },
}
SCSS
$custom: #862d17;
$custom-light: #b16a56;
$custom-dark: #000000;
JSON
{
  "hex": "#862d17",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 11.892,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.12666,
    "h": 34.9
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#862D17
secondary
#3FA2BA
accent
#CAED3A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #862D17

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

Preview Lab → · Contrast checker → · Palette generator →

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