#842E1A#842E1A

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

Color values

HEX#842E1A
RGBrgb(132, 46, 26)
HSLhsl(11, 67%, 31%)
HSVhsv(11, 80%, 52%)
CMYKcmyk(0%, 65.2%, 80.3%, 48.2%)
CIE-LABlab(31.66, 35.85, 31.67)
CIE-LCHlch(31.66, 47.83, 41.46°)
OKLaboklab(42.45% 0.1012 0.0694)
OKLCHoklch(42.45% 0.123 34.4)
XYZxyz(10.6803, 6.9356, 1.7534)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E1A #1A7084
analogous
#841A3B #842E1A #84631A
triadic
#842E1A #1A842E #2E1A84
tetradic
#842E1A #3B841A #1A7084 #631A84
square
#842E1A #3B841A #1A7084 #631A84
split-complementary
#842E1A #1A8463 #1A3B84
monochromatic
#1E0A06 #511C10 #842E1A #B74024 #D95C3F

Accessibility & contrast

On white

8.80
#842E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#842E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E1A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E1A#FFFFFF#000000##FFFFFF
##842E1A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#92182A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842e1a;
/* rgb */ color: rgb(132, 46, 26);
/* oklch */ color: oklch(42.4% 0.123 34.4);
Tailwind
colors: {
  custom: {
    50: '#af6b58',
    500: '#842e1a',
    950: '#000000',
  },
}
SCSS
$custom: #842e1a;
$custom-light: #af6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#842e1a",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 11.321,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.12273,
    "h": 34.4
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#842E1A
secondary
#42A1B8
accent
#CAEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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