#842022#842022

#842022 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.9% C 0.135 H 24.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#842022
RGBrgb(132, 32, 34)
HSLhsl(359, 61%, 32%)
HSVhsv(359, 76%, 52%)
CMYKcmyk(0%, 75.8%, 74.2%, 48.2%)
CIE-LABlab(29.55, 42.20, 24.58)
CIE-LCHlch(29.55, 48.84, 30.22°)
OKLaboklab(40.9% 0.1229 0.0561)
OKLCHoklch(40.9% 0.135 24.5)
XYZxyz(10.3221, 6.0556, 2.1384)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842022 #208482
analogous
#842054 #842022 #845020
triadic
#842022 #228420 #202284
tetradic
#842022 #548420 #208482 #502084
square
#842022 #548420 #208482 #502084
split-complementary
#842022 #208450 #205484
monochromatic
#210809 #531415 #842022 #B52C2F #D34B4E

Accessibility & contrast

On white

9.50
#842022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#842022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842022
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842022#FFFFFF#000000##FFFFFF
##8420221.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3821
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#920022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842022;
/* rgb */ color: rgb(132, 32, 34);
/* oklch */ color: oklch(40.9% 0.135 24.5);
Tailwind
colors: {
  custom: {
    50: '#af645d',
    500: '#842022',
    950: '#000000',
  },
}
SCSS
$custom: #842022;
$custom-light: #af645d;
$custom-dark: #000000;
JSON
{
  "hex": "#842022",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 34
  },
  "hsl": {
    "h": 358.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.409,
    "c": 0.13505,
    "h": 24.5
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#842022
secondary
#4AB6B4
accent
#E4E144
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842022

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

Preview Lab → · Contrast checker → · Palette generator →

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