#842E1B#842E1B

#842E1B is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.5% C 0.122 H 34.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#842E1B
RGBrgb(132, 46, 27)
HSLhsl(11, 66%, 31%)
HSVhsv(11, 80%, 52%)
CMYKcmyk(0%, 65.2%, 79.5%, 48.2%)
CIE-LABlab(31.67, 35.89, 31.12)
CIE-LCHlch(31.67, 47.50, 40.93°)
OKLaboklab(42.46% 0.1016 0.0685)
OKLCHoklch(42.46% 0.123 34)
XYZxyz(10.6917, 6.9402, 1.8133)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E1B #1B7184
analogous
#841B3C #842E1B #84621B
triadic
#842E1B #1B842E #2E1B84
tetradic
#842E1B #3C841B #1B7184 #621B84
square
#842E1B #3C841B #1B7184 #621B84
split-complementary
#842E1B #1B8462 #1B3C84
monochromatic
#1E0B06 #511C11 #842E1B #B74025 #D85D41

Accessibility & contrast

On white

8.79
#842E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E1B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E1B#FFFFFF#000000##FFFFFF
##842E1B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842e1b;
/* rgb */ color: rgb(132, 46, 27);
/* oklch */ color: oklch(42.5% 0.122 34.0);
Tailwind
colors: {
  custom: {
    50: '#af6b58',
    500: '#842e1b',
    950: '#000000',
  },
}
SCSS
$custom: #842e1b;
$custom-light: #af6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#842e1b",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 10.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.1225,
    "h": 34
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#842E1B
secondary
#43A2B7
accent
#CAE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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