#842B18#842B18

#842B18 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.0% C 0.126 H 33.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#842B18
RGBrgb(132, 43, 24)
HSLhsl(11, 69%, 31%)
HSVhsv(11, 82%, 52%)
CMYKcmyk(0%, 67.4%, 81.8%, 48.2%)
CIE-LABlab(31.12, 37.17, 32.23)
CIE-LCHlch(31.12, 49.20, 40.92°)
OKLaboklab(42.03% 0.1049 0.07)
OKLCHoklch(42.03% 0.126 33.7)
XYZxyz(10.5457, 6.7008, 1.6021)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842B18 #187184
analogous
#84183B #842B18 #846118
triadic
#842B18 #18842B #2B1884
tetradic
#842B18 #3B8418 #187184 #611884
square
#842B18 #3B8418 #187184 #611884
split-complementary
#842B18 #188461 #183B84
monochromatic
#1C0905 #501A0F #842B18 #B83C21 #DB573B

Accessibility & contrast

On white

8.98
#842B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#842B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842B18
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842B18#FFFFFF#000000##FFFFFF
##842B181.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#921127
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842b18;
/* rgb */ color: rgb(132, 43, 24);
/* oklch */ color: oklch(42.0% 0.126 33.7);
Tailwind
colors: {
  custom: {
    50: '#af6956',
    500: '#842b18',
    950: '#000000',
  },
}
SCSS
$custom: #842b18;
$custom-light: #af6956;
$custom-dark: #000000;
JSON
{
  "hex": "#842b18",
  "rgb": {
    "r": 132,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 10.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.12614,
    "h": 33.7
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#842B18
secondary
#40A3B8
accent
#CDEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842B18

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

Preview Lab → · Contrast checker → · Palette generator →

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