#842E2B#842E2B

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

Color values

HEX#842E2B
RGBrgb(132, 46, 43)
HSLhsl(2, 51%, 34%)
HSVhsv(2, 67%, 52%)
CMYKcmyk(0%, 65.2%, 67.4%, 48.2%)
CIE-LABlab(31.89, 36.73, 21.71)
CIE-LCHlch(31.89, 42.67, 30.58°)
OKLaboklab(42.69% 0.1076 0.0512)
OKLCHoklch(42.69% 0.119 25.5)
XYZxyz(10.9298, 7.0354, 3.0675)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E2B #2B8184
analogous
#842B55 #842E2B #845B2B
triadic
#842E2B #2B842E #2E2B84
tetradic
#842E2B #55842B #2B8184 #5B2B84
square
#842E2B #55842B #2B8184 #5B2B84
split-complementary
#842E2B #2B845B #2B5584
monochromatic
#280E0D #561E1C #842E2B #B23E3A #CB625F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842E2B#FFFFFF#000000##FFFFFF
##842E2B1.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)
#453F2A
Deuteranopia (green-blind)
#5A5229
Tritanopia (blue-blind)
#911B2E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842e2b;
/* rgb */ color: rgb(132, 46, 43);
/* oklch */ color: oklch(42.7% 0.119 25.5);
Tailwind
colors: {
  custom: {
    50: '#ae6b64',
    500: '#842e2b',
    950: '#000000',
  },
}
SCSS
$custom: #842e2b;
$custom-light: #ae6b64;
$custom-dark: #000000;
JSON
{
  "hex": "#842e2b",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 2.022,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.11913,
    "h": 25.5
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#842E2B
secondary
#5AAEB1
accent
#D6DA4D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #842E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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