#842E1C#842E1C

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

Color values

HEX#842E1C
RGBrgb(132, 46, 28)
HSLhsl(10, 65%, 31%)
HSVhsv(10, 79%, 52%)
CMYKcmyk(0%, 65.2%, 78.8%, 48.2%)
CIE-LABlab(31.68, 35.93, 30.56)
CIE-LCHlch(31.68, 47.17, 40.38°)
OKLaboklab(42.47% 0.1019 0.0676)
OKLCHoklch(42.47% 0.122 33.6)
XYZxyz(10.7035, 6.9449, 1.8753)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E1C #1C7284
analogous
#841C3E #842E1C #84621C
triadic
#842E1C #1C842E #2E1C84
tetradic
#842E1C #3E841C #1C7284 #621C84
square
#842E1C #3E841C #1C7284 #621C84
split-complementary
#842E1C #1C8462 #1C3E84
monochromatic
#1F0B07 #521C11 #842E1C #B64027 #D75D43

Accessibility & contrast

On white

8.79
#842E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E1C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E1C#FFFFFF#000000##FFFFFF
##842E1C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F19
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#92182A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842e1c;
/* rgb */ color: rgb(132, 46, 28);
/* oklch */ color: oklch(42.5% 0.122 33.6);
Tailwind
colors: {
  custom: {
    50: '#af6b59',
    500: '#842e1c',
    950: '#000000',
  },
}
SCSS
$custom: #842e1c;
$custom-light: #af6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#842e1c",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 28
  },
  "hsl": {
    "h": 10.385,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.12226,
    "h": 33.6
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#842E1C
secondary
#45A3B7
accent
#CBE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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