#842E18#842E18

#842E18 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.4% C 0.123 H 35.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#842E18
RGBrgb(132, 46, 24)
HSLhsl(12, 69%, 31%)
HSVhsv(12, 82%, 52%)
CMYKcmyk(0%, 65.2%, 81.8%, 48.2%)
CIE-LABlab(31.64, 35.77, 32.75)
CIE-LCHlch(31.64, 48.50, 42.47°)
OKLaboklab(42.43% 0.1006 0.0711)
OKLCHoklch(42.43% 0.123 35.3)
XYZxyz(10.6588, 6.9270, 1.6398)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E18 #186E84
analogous
#841838 #842E18 #846418
triadic
#842E18 #18842E #2E1884
tetradic
#842E18 #388418 #186E84 #641884
square
#842E18 #388418 #186E84 #641884
split-complementary
#842E18 #188464 #183884
monochromatic
#1C0A05 #501C0F #842E18 #B84021 #DB5C3B

Accessibility & contrast

On white

8.81
#842E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E18
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E18#FFFFFF#000000##FFFFFF
##842E181.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E15
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#92172A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842e18;
/* rgb */ color: rgb(132, 46, 24);
/* oklch */ color: oklch(42.4% 0.123 35.3);
Tailwind
colors: {
  custom: {
    50: '#af6b56',
    500: '#842e18',
    950: '#000000',
  },
}
SCSS
$custom: #842e18;
$custom-light: #af6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#842e18",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 12.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.1232,
    "h": 35.3
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#842E18
secondary
#409FB8
accent
#C8EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842E18

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

Preview Lab → · Contrast checker → · Palette generator →

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