#842E27#842E27

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

Color values

HEX#842E27
RGBrgb(132, 46, 39)
HSLhsl(5, 54%, 34%)
HSVhsv(5, 70%, 52%)
CMYKcmyk(0%, 65.2%, 70.5%, 48.2%)
CIE-LABlab(31.82, 36.49, 24.13)
CIE-LCHlch(31.82, 43.75, 33.48°)
OKLaboklab(42.62% 0.1059 0.056)
OKLCHoklch(42.62% 0.12 27.9)
XYZxyz(10.8600, 7.0075, 2.6998)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E27 #277D84
analogous
#84274E #842E27 #845C27
triadic
#842E27 #27842E #2E2784
tetradic
#842E27 #4E8427 #277D84 #5C2784
square
#842E27 #4E8427 #277D84 #5C2784
split-complementary
#842E27 #27845C #274E84
monochromatic
#260D0B #551E19 #842E27 #B33E35 #CE6158

Accessibility & contrast

On white

8.75
#842E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E27
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E27#FFFFFF#000000##FFFFFF
##842E271.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842e27;
/* rgb */ color: rgb(132, 46, 39);
/* oklch */ color: oklch(42.6% 0.120 27.9);
Tailwind
colors: {
  custom: {
    50: '#ae6b61',
    500: '#842e27',
    950: '#000000',
  },
}
SCSS
$custom: #842e27;
$custom-light: #ae6b61;
$custom-dark: #000000;
JSON
{
  "hex": "#842e27",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 4.516,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.11984,
    "h": 27.9
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#842E27
secondary
#54ABB2
accent
#D3DE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #842E27

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

Preview Lab → · Contrast checker → · Palette generator →

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