#842E21#842E21

#842E21 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.5% C 0.121 H 31.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#842E21
RGBrgb(132, 46, 33)
HSLhsl(8, 60%, 32%)
HSVhsv(8, 75%, 52%)
CMYKcmyk(0%, 65.2%, 75%, 48.2%)
CIE-LABlab(31.74, 36.16, 27.70)
CIE-LCHlch(31.74, 45.55, 37.45°)
OKLaboklab(42.54% 0.1036 0.0626)
OKLCHoklch(42.54% 0.121 31.1)
XYZxyz(10.7684, 6.9708, 2.2170)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E21 #217784
analogous
#842145 #842E21 #846021
triadic
#842E21 #21842E #2E2184
tetradic
#842E21 #458421 #217784 #602184
square
#842E21 #458421 #217784 #602184
split-complementary
#842E21 #218460 #214584
monochromatic
#220C09 #531D15 #842E21 #B53F2D #D25E4D

Accessibility & contrast

On white

8.77
#842E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#842E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E21
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E21#FFFFFF#000000##FFFFFF
##842E211.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1F
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#91192B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842e21;
/* rgb */ color: rgb(132, 46, 33);
/* oklch */ color: oklch(42.5% 0.121 31.1);
Tailwind
colors: {
  custom: {
    50: '#ae6b5d',
    500: '#842e21',
    950: '#000000',
  },
}
SCSS
$custom: #842e21;
$custom-light: #ae6b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#842e21",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 33
  },
  "hsl": {
    "h": 7.879,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.1211,
    "h": 31.1
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#842E21
secondary
#4BA8B6
accent
#CEE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #842E21

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

Preview Lab → · Contrast checker → · Palette generator →

#842E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva