#842B17#842B17

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

Color values

HEX#842B17
RGBrgb(132, 43, 23)
HSLhsl(11, 70%, 30%)
HSVhsv(11, 83%, 52%)
CMYKcmyk(0%, 67.4%, 82.6%, 48.2%)
CIE-LABlab(31.11, 37.14, 32.76)
CIE-LCHlch(31.11, 49.52, 41.42°)
OKLaboklab(42.02% 0.1046 0.0708)
OKLCHoklch(42.02% 0.126 34.1)
XYZxyz(10.5354, 6.6967, 1.5483)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842B17 #177084
analogous
#841739 #842B17 #846117
triadic
#842B17 #17842B #2B1784
tetradic
#842B17 #398417 #177084 #611784
square
#842B17 #398417 #177084 #611784
split-complementary
#842B17 #178461 #173984
monochromatic
#1C0905 #501A0E #842B17 #B83C20 #DC5739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842B17#FFFFFF#000000##FFFFFF
##842B171.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)
#453D14
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#921127
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842b17;
/* rgb */ color: rgb(132, 43, 23);
/* oklch */ color: oklch(42.0% 0.126 34.1);
Tailwind
colors: {
  custom: {
    50: '#af6956',
    500: '#842b17',
    950: '#000000',
  },
}
SCSS
$custom: #842b17;
$custom-light: #af6956;
$custom-dark: #000000;
JSON
{
  "hex": "#842b17",
  "rgb": {
    "r": 132,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 11.009,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.12635,
    "h": 34.1
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#842B17
secondary
#3FA2B8
accent
#CCED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842B17

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

Preview Lab → · Contrast checker → · Palette generator →

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