#862D59 color
#862D59 is a dark, moderately saturated magenta, closest to the CSS named color brown (#A52A2A).
Color values
| HEX | #862D59 |
| RGB | rgb(134, 45, 89) |
| HSL | hsl(330, 50%, 35%) |
| CMYK | cmyk(0%, 66%, 34%, 47%) |
| Decimal | 8793433 |
| CSS | color: #862D59; |
| Android | 0xFF862D59 |
| Swift | UIColor(red: 0.525, green: 0.176, blue: 0.349, alpha: 1) |
Accessibility and contrast
| White text on #862D59 | 8.29:1 — AA pass · AA large pass · AAA pass |
| Black text on #862D59 | 2.53:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
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 #862D59
Each swatch keeps the hue and saturation of #862D59 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #862D59
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #862D59 in code
/* CSS */
.element { color: #862D59; background-color: #862D59; }
.element { color: rgb(134 45 89); }
.element { color: hsl(330 50% 35%); }
/* Tailwind arbitrary value */
<div class="bg-[#862D59] text-white">
/* SCSS variable */
$brand: #862D59;
Frequently asked questions
What color is #862D59?
#862D59 is a dark, moderately saturated magenta. Its hue sits at 330° on the color wheel, with 50% saturation and 35% lightness.
What is #862D59 in RGB?
#862D59 converts to rgb(134, 45, 89) — 134 red, 45 green and 89 blue.
What is #862D59 in CMYK?
Approximately cmyk(0%, 66%, 34%, 47%). 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 #862D59 be white or black?
White gives the better contrast ratio (8.29:1 versus 2.53:1).
What is the complementary color of #862D59?
#2D8659 — the hue directly opposite #862D59 on the color wheel.