Color #D171A9 Color / Colour Code #D171A9
This page shows the hex color code for color #d171a9 (#D171A9). The colour is a pink tone with 51% saturation and 63% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #D171A9 against common backgrounds.
Complementary Colors
#D171A9 paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 295, 325, and 355 degrees for harmonious combinations.
Triadic Palette
Three colors at 325, 85, and 205 degrees.
Color Palettes Using #D171A9
Five shades at lightness levels 15% through 85% while keeping hue at 325 and saturation at 51%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 325 to 10 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 325 with its complement at 145 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #D171A9
Lightness variations at hue 325 and 51% saturation.
CSS Gradients with #D171A9
Design Use Cases for #D171A9
Balanced UI Color
At 51% saturation, #D171A9 strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.
Soft Accent & Highlight
With 63% lightness, #D171A9 has a softer, more approachable quality. It works well for hover states, subtle highlights, progress indicators, and secondary UI elements. This lightness range is particularly effective for tag backgrounds and status indicators.
Playfulness & Compassion
#D171A9 is in the pink range (hue 325). Pink ranges from energetic to gentle depending on saturation and lightness. Use it for beauty and cosmetics branding, social app interfaces, Valentine's themes, and youth-oriented design. Desaturated pinks work well as soft background tints.
Gradient Pairing
Create a gradient from #D171A9 (hue 325) to its complement at hue 145. For a subtler effect, try pairing with an analogous color at hue 355. Use CSS: background: linear-gradient(135deg, #d171a9, #71d199);
CSS Code for #D171A9
Similar Colors
Colors visually similar to #D171A9 based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #D171A9 across image editing and color design tools.
About Color #D171A9 (#D171A9)
#D171A9 is a pink color (colour) with RGB channel values of 209 red, 113 green, and 169 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 325 degrees with 51% saturation and 63% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #D171A9 is 148/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 0% cyan, 46% magenta, 19% yellow, and 18% key (black).
The WCAG contrast ratio of #D171A9 against white is 3.16:1 and against black is 6.65:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 6.65:1.
The complementary colour #71D199 creates maximum visual tension when paired with #D171A9. For more harmonious color combinations, use the analogous colours #C971D1 and #D17179, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #D171A9
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #D171A9?
- #D171A9 is Color #D171A9, a pink color (colour) with RGB(209, 113, 169), HSL(325, 51%, 63%), and CMYK(0%, 46%, 19%, 18%). Its perceived brightness is 148/255.
- Is #D171A9 accessible for text?
- Against white, #D171A9 has a contrast ratio of 3.16:1 (fails AA for normal text). Against black, it has 6.65:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
- What colours pair well with #D171A9?
- The complementary colour is #71D199 (hue 145). For subtle color combinations, use analogous colours #C971D1 and #D17179. The triadic palette adds #A9D171 and #71A9D1 for vibrant variety.
- How do I use #D171A9 in CSS?
- Use any format: color: #d171a9; or rgb(209, 113, 169); or hsl(325, 51%, 63%). For CSS custom properties: --color-primary: 325 51% 63%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.