#842A18#842A18

#842A18 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.127 H 33.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#842A18
RGBrgb(132, 42, 24)
HSLhsl(10, 69%, 31%)
HSVhsv(10, 82%, 52%)
CMYKcmyk(0%, 68.2%, 81.8%, 48.2%)
CIE-LABlab(30.95, 37.63, 32.06)
CIE-LCHlch(30.95, 49.43, 40.43°)
OKLaboklab(41.91% 0.1064 0.0696)
OKLCHoklch(41.91% 0.127 33.2)
XYZxyz(10.5097, 6.6290, 1.5901)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842A18 #187284
analogous
#84183C #842A18 #846018
triadic
#842A18 #18842A #2A1884
tetradic
#842A18 #3C8418 #187284 #601884
square
#842A18 #3C8418 #187284 #601884
split-complementary
#842A18 #188460 #183C84
monochromatic
#1C0905 #501A0F #842A18 #B83A21 #DB563B

Accessibility & contrast

On white

9.03
#842A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#842A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842A18
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842A18#FFFFFF#000000##FFFFFF
##842A181.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#920F27
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842a18;
/* rgb */ color: rgb(132, 42, 24);
/* oklch */ color: oklch(41.9% 0.127 33.2);
Tailwind
colors: {
  custom: {
    50: '#af6956',
    500: '#842a18',
    950: '#000000',
  },
}
SCSS
$custom: #842a18;
$custom-light: #af6956;
$custom-dark: #000000;
JSON
{
  "hex": "#842a18",
  "rgb": {
    "r": 132,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 10,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.12711,
    "h": 33.2
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#842A18
secondary
#40A4B8
accent
#CFEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842A18

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

Preview Lab → · Contrast checker → · Palette generator →

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