#842E28#842E28

#842E28 is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.6% C 0.120 H 27.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#842E28
RGBrgb(132, 46, 40)
HSLhsl(4, 53%, 34%)
HSVhsv(4, 70%, 52%)
CMYKcmyk(0%, 65.2%, 69.7%, 48.2%)
CIE-LABlab(31.84, 36.55, 23.53)
CIE-LCHlch(31.84, 43.47, 32.78°)
OKLaboklab(42.64% 0.1063 0.0549)
OKLCHoklch(42.64% 0.12 27.3)
XYZxyz(10.8768, 7.0142, 2.7882)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E28 #287E84
analogous
#842850 #842E28 #845C28
triadic
#842E28 #28842E #2E2884
tetradic
#842E28 #508428 #287E84 #5C2884
square
#842E28 #508428 #287E84 #5C2884
split-complementary
#842E28 #28845C #285084
monochromatic
#260D0C #551E1A #842E28 #B33E36 #CD615A

Accessibility & contrast

On white

8.74
#842E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#842E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E28
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E28#FFFFFF#000000##FFFFFF
##842E281.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#911A2D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842e28;
/* rgb */ color: rgb(132, 46, 40);
/* oklch */ color: oklch(42.6% 0.120 27.3);
Tailwind
colors: {
  custom: {
    50: '#ae6b62',
    500: '#842e28',
    950: '#000000',
  },
}
SCSS
$custom: #842e28;
$custom-light: #ae6b62;
$custom-dark: #000000;
JSON
{
  "hex": "#842e28",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 3.913,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.11965,
    "h": 27.3
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#842E28
secondary
#56ACB2
accent
#D3DD4B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #842E28

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

Preview Lab → · Contrast checker → · Palette generator →

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