#842D2E#842D2E

#842D2E is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.6% C 0.120 H 23.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#842D2E
RGBrgb(132, 45, 46)
HSLhsl(359, 49%, 35%)
HSVhsv(359, 66%, 52%)
CMYKcmyk(0%, 65.9%, 65.2%, 48.2%)
CIE-LABlab(31.76, 37.40, 19.65)
CIE-LCHlch(31.76, 42.25, 27.72°)
OKLaboklab(42.62% 0.1103 0.047)
OKLCHoklch(42.62% 0.12 23.1)
XYZxyz(10.9483, 6.9811, 3.3552)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842D2E #2D8483
analogous
#842D5A #842D2E #84572D
triadic
#842D2E #2E842D #2D2E84
tetradic
#842D2E #5A842D #2D8483 #572D84
square
#842D2E #5A842D #2D8483 #572D84
split-complementary
#842D2E #2D8457 #2D5A84
monochromatic
#290E0E #561D1E #842D2E #B23D3E #C96263

Accessibility & contrast

On white

8.76
#842D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#842D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842D2E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842D2E#FFFFFF#000000##FFFFFF
##842D2E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2D
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#911A2E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842d2e;
/* rgb */ color: rgb(132, 45, 46);
/* oklch */ color: oklch(42.6% 0.120 23.1);
Tailwind
colors: {
  custom: {
    50: '#ae6b66',
    500: '#842d2e',
    950: '#000000',
  },
}
SCSS
$custom: #842d2e;
$custom-light: #ae6b66;
$custom-dark: #000000;
JSON
{
  "hex": "#842d2e",
  "rgb": {
    "r": 132,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 359.31,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.11987,
    "h": 23.1
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#842D2E
secondary
#5DB0AF
accent
#D9D74F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #842D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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