Toolman

#831843 color

#831843#831843

The swatch above shows #831843 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#831843 is a dark, vivid red, closest to the CSS named color brown (#A52A2A).

It is also a Tailwind CSS default: pink-900. That means you can write bg-pink-900 or text-pink-900 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#831843
RGBrgb(131, 24, 67)
HSLhsl(336, 69%, 30%)
CMYKcmyk(0%, 82%, 49%, 49%)
Decimal8591427
CSScolor: #831843;
Android0xFF831843
SwiftUIColor(red: 0.514, green: 0.094, blue: 0.263, alpha: 1)

Accessibility and contrast

White text on #8318439.65:1 — AA pass · AA large pass · AAA pass
Black text on #8318432.18:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #831843

Each swatch keeps the hue and saturation of #831843 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #831843

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #831843 in code

/* CSS */
.element { color: #831843; background-color: #831843; }
.element { color: rgb(131 24 67); }
.element { color: hsl(336 69% 30%); }

/* Tailwind */
<div class="bg-pink-900 text-white">

/* SCSS variable */
$brand: #831843;

Frequently asked questions

What color is #831843?

#831843 is a dark, vivid red. Its hue sits at 336° on the color wheel, with 69% saturation and 30% lightness.

What is #831843 in RGB?

#831843 converts to rgb(131, 24, 67) — 131 red, 24 green and 67 blue.

What is #831843 in CMYK?

Approximately cmyk(0%, 82%, 49%, 49%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #831843 be white or black?

White gives the better contrast ratio (9.65:1 versus 2.18:1).

What is the complementary color of #831843?

#188157 — the hue directly opposite #831843 on the color wheel.

Convert any color → · Browse all colors