#862217#862217

#862217 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.137 H 30.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#862217
RGBrgb(134, 34, 23)
HSLhsl(6, 71%, 31%)
HSVhsv(6, 83%, 53%)
CMYKcmyk(0%, 74.6%, 82.8%, 47.5%)
CIE-LABlab(30.10, 41.67, 31.90)
CIE-LCHlch(30.10, 52.48, 37.44°)
OKLaboklab(41.34% 0.1185 0.0688)
OKLCHoklch(41.34% 0.137 30.1)
XYZxyz(10.5595, 6.2759, 1.4658)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862217 #177B86
analogous
#861743 #862217 #865917
triadic
#862217 #178622 #221786
tetradic
#862217 #438617 #177B86 #591786
square
#862217 #438617 #177B86 #591786
split-complementary
#862217 #178659 #174386
monochromatic
#1E0705 #52150E #862217 #BA2F20 #DD4A3A

Accessibility & contrast

On white

9.31
#862217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#862217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862217
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862217#FFFFFF#000000##FFFFFF
##8622171.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403915
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#940020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #862217;
/* rgb */ color: rgb(134, 34, 23);
/* oklch */ color: oklch(41.3% 0.137 30.1);
Tailwind
colors: {
  custom: {
    50: '#b16555',
    500: '#862217',
    950: '#000000',
  },
}
SCSS
$custom: #862217;
$custom-light: #b16555;
$custom-dark: #000000;
JSON
{
  "hex": "#862217",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.946,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.13699,
    "h": 30.1
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#862217
secondary
#3FAEBA
accent
#DCED3A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #862217

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

Preview Lab → · Contrast checker → · Palette generator →

#862217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva