#842222#842222

#842222 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.133 H 25.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#842222
RGBrgb(132, 34, 34)
HSLhsl(0, 59%, 33%)
HSVhsv(0, 74%, 52%)
CMYKcmyk(0%, 74.2%, 74.2%, 48.2%)
CIE-LABlab(29.83, 41.44, 24.90)
CIE-LCHlch(29.83, 48.34, 31.00°)
OKLaboklab(41.11% 0.1204 0.0568)
OKLCHoklch(41.11% 0.133 25.2)
XYZxyz(10.3776, 6.1666, 2.1569)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842222 #228484
analogous
#842253 #842222 #845322
triadic
#842222 #228422 #222284
tetradic
#842222 #538422 #228484 #532284
square
#842222 #538422 #228484 #532284
split-complementary
#842222 #228453 #225384
monochromatic
#230909 #531515 #842222 #B52F2F #D24F4F

Accessibility & contrast

On white

9.40
#842222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#842222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842222
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842222#FFFFFF#000000##FFFFFF
##8422221.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3921
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#920023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842222;
/* rgb */ color: rgb(132, 34, 34);
/* oklch */ color: oklch(41.1% 0.133 25.2);
Tailwind
colors: {
  custom: {
    50: '#af655d',
    500: '#842222',
    950: '#000000',
  },
}
SCSS
$custom: #842222;
$custom-light: #af655d;
$custom-dark: #000000;
JSON
{
  "hex": "#842222",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.13314,
    "h": 25.2
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#842222
secondary
#4DB5B5
accent
#E2E246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842222

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

Preview Lab → · Contrast checker → · Palette generator →

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