#9C167B color
#9C167B is a dark, vivid magenta, closest to the CSS named color darkmagenta (#8B008B).
Color values
| HEX | #9C167B |
| RGB | rgb(156, 22, 123) |
| HSL | hsl(315, 75%, 35%) |
| CMYK | cmyk(0%, 86%, 21%, 39%) |
| Decimal | 10229371 |
| CSS | color: #9C167B; |
| Android | 0xFF9C167B |
| Swift | UIColor(red: 0.612, green: 0.086, blue: 0.482, alpha: 1) |
Accessibility and contrast
| White text on #9C167B | 7.46:1 — AA pass · AA large pass · AAA pass |
| Black text on #9C167B | 2.81: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 #9C167B
Each swatch keeps the hue and saturation of #9C167B and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #9C167B
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #9C167B in code
/* CSS */
.element { color: #9C167B; background-color: #9C167B; }
.element { color: rgb(156 22 123); }
.element { color: hsl(315 75% 35%); }
/* Tailwind arbitrary value */
<div class="bg-[#9C167B] text-white">
/* SCSS variable */
$brand: #9C167B;
Frequently asked questions
What color is #9C167B?
#9C167B is a dark, vivid magenta. Its hue sits at 315° on the color wheel, with 75% saturation and 35% lightness.
What is #9C167B in RGB?
#9C167B converts to rgb(156, 22, 123) — 156 red, 22 green and 123 blue.
What is #9C167B in CMYK?
Approximately cmyk(0%, 86%, 21%, 39%). 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 #9C167B be white or black?
White gives the better contrast ratio (7.46:1 versus 2.81:1).
What is the complementary color of #9C167B?
#169C38 — the hue directly opposite #9C167B on the color wheel.