#842E2A#842E2A

#842E2A is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.7% C 0.119 H 26.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#842E2A
RGBrgb(132, 46, 42)
HSLhsl(3, 52%, 34%)
HSVhsv(3, 68%, 52%)
CMYKcmyk(0%, 65.2%, 68.2%, 48.2%)
CIE-LABlab(31.87, 36.67, 22.32)
CIE-LCHlch(31.87, 42.93, 31.33°)
OKLaboklab(42.68% 0.1071 0.0525)
OKLCHoklch(42.68% 0.119 26.1)
XYZxyz(10.9117, 7.0282, 2.9720)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E2A #2A8084
analogous
#842A53 #842E2A #845B2A
triadic
#842E2A #2A842E #2E2A84
tetradic
#842E2A #53842A #2A8084 #5B2A84
square
#842E2A #53842A #2A8084 #5B2A84
split-complementary
#842E2A #2A845B #2A5384
monochromatic
#270E0C #561E1B #842E2A #B23E39 #CB625D

Accessibility & contrast

On white

8.73
#842E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#842E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E2A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E2A#FFFFFF#000000##FFFFFF
##842E2A1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F29
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#911B2E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842e2a;
/* rgb */ color: rgb(132, 46, 42);
/* oklch */ color: oklch(42.7% 0.119 26.1);
Tailwind
colors: {
  custom: {
    50: '#ae6b63',
    500: '#842e2a',
    950: '#000000',
  },
}
SCSS
$custom: #842e2a;
$custom-light: #ae6b63;
$custom-dark: #000000;
JSON
{
  "hex": "#842e2a",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 2.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.11929,
    "h": 26.1
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#842E2A
secondary
#59ADB1
accent
#D5DB4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #842E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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