#842820#842820

#842820 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.128 H 28.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#842820
RGBrgb(132, 40, 32)
HSLhsl(5, 61%, 32%)
HSVhsv(5, 76%, 52%)
CMYKcmyk(0%, 69.7%, 75.8%, 48.2%)
CIE-LABlab(30.71, 38.86, 27.14)
CIE-LCHlch(30.71, 47.40, 34.93°)
OKLaboklab(41.76% 0.1119 0.0612)
OKLCHoklch(41.76% 0.128 28.7)
XYZxyz(10.5364, 6.5289, 2.0716)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842820 #207C84
analogous
#84204A #842820 #845A20
triadic
#842820 #208428 #282084
tetradic
#842820 #4A8420 #207C84 #5A2084
square
#842820 #4A8420 #207C84 #5A2084
split-complementary
#842820 #20845A #204A84
monochromatic
#210A08 #531914 #842820 #B5372C #D3564B

Accessibility & contrast

On white

9.11
#842820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#842820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842820
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842820#FFFFFF#000000##FFFFFF
##8428201.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1E
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#920C27
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842820;
/* rgb */ color: rgb(132, 40, 32);
/* oklch */ color: oklch(41.8% 0.128 28.7);
Tailwind
colors: {
  custom: {
    50: '#af685c',
    500: '#842820',
    950: '#000000',
  },
}
SCSS
$custom: #842820;
$custom-light: #af685c;
$custom-dark: #000000;
JSON
{
  "hex": "#842820",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 4.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.1275,
    "h": 28.7
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#842820
secondary
#4AADB6
accent
#D7E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842820

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

Preview Lab → · Contrast checker → · Palette generator →

#842820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva