#862817#862817

#862817 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.131 H 32.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#862817
RGBrgb(134, 40, 23)
HSLhsl(9, 71%, 31%)
HSVhsv(9, 83%, 53%)
CMYKcmyk(0%, 70.1%, 82.8%, 47.5%)
CIE-LABlab(31.00, 39.21, 32.78)
CIE-LCHlch(31.00, 51.11, 39.90°)
OKLaboklab(42.01% 0.1108 0.0707)
OKLCHoklch(42.01% 0.131 32.5)
XYZxyz(10.7462, 6.6494, 1.5281)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862817 #177586
analogous
#86173D #862817 #865F17
triadic
#862817 #178628 #281786
tetradic
#862817 #3D8617 #177586 #5F1786
square
#862817 #3D8617 #177586 #5F1786
split-complementary
#862817 #17865F #173D86
monochromatic
#1E0905 #52180E #862817 #BA3820 #DD533A

Accessibility & contrast

On white

9.01
#862817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#862817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862817
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862817#FFFFFF#000000##FFFFFF
##8628171.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#940825
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862817;
/* rgb */ color: rgb(134, 40, 23);
/* oklch */ color: oklch(42.0% 0.131 32.5);
Tailwind
colors: {
  custom: {
    50: '#b16855',
    500: '#862817',
    950: '#000000',
  },
}
SCSS
$custom: #862817;
$custom-light: #b16855;
$custom-dark: #000000;
JSON
{
  "hex": "#862817",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 9.189,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4201,
    "c": 0.13146,
    "h": 32.5
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#862817
secondary
#3FA7BA
accent
#D2ED3A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #862817

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

Preview Lab → · Contrast checker → · Palette generator →

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