#842A2F#842A2F

#842A2F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.123 H 21.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#842A2F
RGBrgb(132, 42, 47)
HSLhsl(357, 52%, 34%)
HSVhsv(357, 68%, 52%)
CMYKcmyk(0%, 68.2%, 64.4%, 48.2%)
CIE-LABlab(31.27, 38.84, 18.38)
CIE-LCHlch(31.27, 42.97, 25.32°)
OKLaboklab(42.26% 0.115 0.0442)
OKLCHoklch(42.26% 0.123 21)
XYZxyz(10.8578, 6.7682, 3.4234)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842A2F #2A847F
analogous
#842A5C #842A2F #84522A
triadic
#842A2F #2F842A #2A2F84
tetradic
#842A2F #5C842A #2A847F #522A84
square
#842A2F #5C842A #2A847F #522A84
split-complementary
#842A2F #2A8452 #2A5C84
monochromatic
#270C0E #561B1E #842A2F #B23940 #CB5D63

Accessibility & contrast

On white

8.92
#842A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#842A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842A2F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842A2F#FFFFFF#000000##FFFFFF
##842A2F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2F
Deuteranopia (green-blind)
#58512D
Tritanopia (blue-blind)
#91152D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842a2f;
/* rgb */ color: rgb(132, 42, 47);
/* oklch */ color: oklch(42.3% 0.123 21.0);
Tailwind
colors: {
  custom: {
    50: '#ae6967',
    500: '#842a2f',
    950: '#000000',
  },
}
SCSS
$custom: #842a2f;
$custom-light: #ae6967;
$custom-dark: #000000;
JSON
{
  "hex": "#842a2f",
  "rgb": {
    "r": 132,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 356.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.12324,
    "h": 21
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#842A2F
secondary
#59B1AC
accent
#DBD34D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #842A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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