#842E17#842E17

#842E17 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.4% C 0.123 H 35.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#842E17
RGBrgb(132, 46, 23)
HSLhsl(13, 70%, 30%)
HSVhsv(13, 83%, 52%)
CMYKcmyk(0%, 65.2%, 82.6%, 48.2%)
CIE-LABlab(31.63, 35.73, 33.28)
CIE-LCHlch(31.63, 48.83, 42.96°)
OKLaboklab(42.42% 0.1003 0.072)
OKLCHoklch(42.42% 0.123 35.7)
XYZxyz(10.6486, 6.9229, 1.5860)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E17 #176D84
analogous
#841736 #842E17 #846517
triadic
#842E17 #17842E #2E1784
tetradic
#842E17 #368417 #176D84 #651784
square
#842E17 #368417 #176D84 #651784
split-complementary
#842E17 #178465 #173684
monochromatic
#1C0A05 #501C0E #842E17 #B84020 #DC5B39

Accessibility & contrast

On white

8.81
#842E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#842E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E17
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E17#FFFFFF#000000##FFFFFF
##842E171.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842e17;
/* rgb */ color: rgb(132, 46, 23);
/* oklch */ color: oklch(42.4% 0.123 35.7);
Tailwind
colors: {
  custom: {
    50: '#af6b56',
    500: '#842e17',
    950: '#000000',
  },
}
SCSS
$custom: #842e17;
$custom-light: #af6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#842e17",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 12.661,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.12343,
    "h": 35.7
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#842E17
secondary
#3F9FB8
accent
#C7ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842E17

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

Preview Lab → · Contrast checker → · Palette generator →

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