#AB171A Color
#AB171A is rgb(171, 23, 26) in RGB, hsl(359, 76%, 38%) in HSL, and about cmyk(0%, 87%, 85%, 33%) in CMYK. It has no registered color name of its own — the closest is Fire Brick (#B22222), very hard to tell apart at ΔE 2.95. White text is the more readable choice on this background.
#AB171Argb(171, 23, 26)hsl(359, 76%, 38%)hsv(359, 87%, 67%)cmyk(0%, 87%, 85%, 33%)oklch(47.6% 0.181 27)lab(37.37% 56.97 40.77)lch(37.37% 70.05 35.59)What #AB171A Is Called
Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #AB171A, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.
Browse the full index of named colors A-Z or every red in the library.
#AB171A Channel Values
How #AB171A breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 171 · G 23 · B 26 | 8-bit channels as sent to the display |
| HSL | H 359° · S 76% · L 38% | Easiest model for building lighter and darker variants |
| HSV | H 359° · S 87% · V 67% | Matches the picker in most design tools |
| CMYK | C 0% · M 87% · Y 85% · K 33% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 7.32:1 vs white · 2.87:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #AB171A background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #AB171A in the contrast checker.
Colors That Go With #AB171A
Pairings derived from color-wheel relationships. The complementary color sits opposite #AB171A; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #AB171A
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #AB171A.
How #AB171A Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#AB171A#4E4E17#7E3F18#696900#88540C#AB1717#AB1718#565656Using #AB171A in Code
Copy-ready declarations for the places this color usually ends up.
--color-ab171a: #AB171A;background-color: #AB171A;colors: { 'color-ab171a': '#AB171A' }Color(red: 0.671, green: 0.090, blue: 0.102)<color name="color_ab171a">#AB171A</color>fill="#AB171A"More Red Colors
#AB171A sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.
#AB171A Frequently Asked Questions
What color is #AB171A?
#AB171A is a dark red — rgb(171, 23, 26) in RGB and hsl(359, 76%, 38%) in HSL. It carries no registered color name of its own; the closest named color is Fire Brick (#B22222), which is very hard to tell apart at a CIE76 distance of 2.95.
What is the RGB value of #AB171A?
#AB171A is rgb(171, 23, 26) — red 171, green 23, and blue 26 on the 0-255 scale.
What is the CMYK value of #AB171A?
#AB171A converts to approximately cmyk(0%, 87%, 85%, 33%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #AB171A be black or white?
White text is the more readable choice. #AB171A scores 7.32:1 against white and 2.87:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #AB171A as a CSS color keyword?
No. #AB171A is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is firebrick (#B22222) at a CIE76 distance of 2.95, which is very hard to tell apart.
Open #AB171A in a Tool
Keep exploring: every red in the color library, the guide to shades of red, or the full color library.