#842E1F#842E1F

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

Color values

HEX#842E1F
RGBrgb(132, 46, 31)
HSLhsl(9, 62%, 32%)
HSVhsv(9, 77%, 52%)
CMYKcmyk(0%, 65.2%, 76.5%, 48.2%)
CIE-LABlab(31.72, 36.07, 28.86)
CIE-LCHlch(31.72, 46.19, 38.66°)
OKLaboklab(42.51% 0.1029 0.0647)
OKLCHoklch(42.51% 0.122 32.1)
XYZxyz(10.7412, 6.9600, 2.0739)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E1F #1F7584
analogous
#841F43 #842E1F #84611F
triadic
#842E1F #1F842E #2E1F84
tetradic
#842E1F #43841F #1F7584 #611F84
square
#842E1F #43841F #1F7584 #611F84
split-complementary
#842E1F #1F8461 #1F4384
monochromatic
#210B08 #521D13 #842E1F #B63F2B #D45E49

Accessibility & contrast

On white

8.78
#842E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E1F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E1F#FFFFFF#000000##FFFFFF
##842E1F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#91182B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842e1f;
/* rgb */ color: rgb(132, 46, 31);
/* oklch */ color: oklch(42.5% 0.122 32.1);
Tailwind
colors: {
  custom: {
    50: '#af6b5b',
    500: '#842e1f',
    950: '#000000',
  },
}
SCSS
$custom: #842e1f;
$custom-light: #af6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#842e1f",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 8.911,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.12156,
    "h": 32.1
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#842E1F
secondary
#48A6B7
accent
#CDE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #842E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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