#842822#842822

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

Color values

HEX#842822
RGBrgb(132, 40, 34)
HSLhsl(4, 59%, 33%)
HSVhsv(4, 74%, 52%)
CMYKcmyk(0%, 69.7%, 74.2%, 48.2%)
CIE-LABlab(30.74, 38.95, 25.95)
CIE-LCHlch(30.74, 46.80, 33.67°)
OKLaboklab(41.79% 0.1126 0.0591)
OKLCHoklch(41.79% 0.127 27.7)
XYZxyz(10.5644, 6.5402, 2.2192)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842822 #227E84
analogous
#84224D #842822 #845922
triadic
#842822 #228428 #282284
tetradic
#842822 #4D8422 #227E84 #592284
square
#842822 #4D8422 #227E84 #592284
split-complementary
#842822 #228459 #224D84
monochromatic
#230B09 #531915 #842822 #B5372F #D2574F

Accessibility & contrast

On white

9.10
#842822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842822
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842822#FFFFFF#000000##FFFFFF
##8428221.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#910D27
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842822;
/* rgb */ color: rgb(132, 40, 34);
/* oklch */ color: oklch(41.8% 0.127 27.7);
Tailwind
colors: {
  custom: {
    50: '#af685d',
    500: '#842822',
    950: '#000000',
  },
}
SCSS
$custom: #842822;
$custom-light: #af685d;
$custom-dark: #000000;
JSON
{
  "hex": "#842822",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 3.673,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.12714,
    "h": 27.7
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#842822
secondary
#4DAFB5
accent
#D9E246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842822

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

Preview Lab → · Contrast checker → · Palette generator →

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