#842020#842020

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

Color values

HEX#842020
RGBrgb(132, 32, 32)
HSLhsl(0, 61%, 32%)
HSVhsv(0, 76%, 52%)
CMYKcmyk(0%, 75.8%, 75.8%, 48.2%)
CIE-LABlab(29.52, 42.11, 25.80)
CIE-LCHlch(29.52, 49.38, 31.50°)
OKLaboklab(40.87% 0.1221 0.0583)
OKLCHoklch(40.87% 0.135 25.5)
XYZxyz(10.2941, 6.0444, 1.9909)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842020 #208484
analogous
#842052 #842020 #845220
triadic
#842020 #208420 #202084
tetradic
#842020 #528420 #208484 #522084
square
#842020 #528420 #208484 #522084
split-complementary
#842020 #208452 #205284
monochromatic
#210808 #531414 #842020 #B52C2C #D34B4B

Accessibility & contrast

On white

9.51
#842020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842020
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842020#FFFFFF#000000##FFFFFF
##8420201.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D381F
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#920021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842020;
/* rgb */ color: rgb(132, 32, 32);
/* oklch */ color: oklch(40.9% 0.135 25.5);
Tailwind
colors: {
  custom: {
    50: '#af645b',
    500: '#842020',
    950: '#000000',
  },
}
SCSS
$custom: #842020;
$custom-light: #af645b;
$custom-dark: #000000;
JSON
{
  "hex": "#842020",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.1353,
    "h": 25.5
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#842020
secondary
#4AB6B6
accent
#E4E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842020

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

Preview Lab → · Contrast checker → · Palette generator →

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