Color #D171BC Color / Colour Code #D171BC
This page shows the hex color code for color #d171bc (#D171BC). The colour is a purple 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 #D171BC against common backgrounds.
Complementary Colors
#D171BC paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 283, 313, and 343 degrees for harmonious combinations.
Triadic Palette
Three colors at 313, 73, and 193 degrees.
Color Palettes Using #D171BC
Five shades at lightness levels 15% through 85% while keeping hue at 313 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 313 to 358 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 313 with its complement at 133 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 #D171BC
Lightness variations at hue 313 and 51% saturation.
CSS Gradients with #D171BC
Design Use Cases for #D171BC
Balanced UI Color
At 51% saturation, #D171BC 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, #D171BC 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.
Creativity & Premium Positioning
#D171BC falls in the purple spectrum (hue 313). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.
Gradient Pairing
Create a gradient from #D171BC (hue 313) to its complement at hue 133. For a subtler effect, try pairing with an analogous color at hue 343. Use CSS: background: linear-gradient(135deg, #d171bc, #71d185);
CSS Code for #D171BC
Similar Colors
Colors visually similar to #D171BC based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #D171BC across image editing and color design tools.
About Color #D171BC (#D171BC)
#D171BC is a purple color (colour) with RGB channel values of 209 red, 113 green, and 188 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 313 degrees with 51% saturation and 63% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #D171BC is 150/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, 10% yellow, and 18% key (black).
The WCAG contrast ratio of #D171BC against white is 3.09:1 and against black is 6.80: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.80:1.
The complementary colour #71D185 creates maximum visual tension when paired with #D171BC. For more harmonious color combinations, use the analogous colours #B671D1 and #D1718C, 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 #D171BC
- 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 #D171BC?
- #D171BC is Color #D171BC, a purple color (colour) with RGB(209, 113, 188), HSL(313, 51%, 63%), and CMYK(0%, 46%, 10%, 18%). Its perceived brightness is 150/255.
- Is #D171BC accessible for text?
- Against white, #D171BC has a contrast ratio of 3.09:1 (fails AA for normal text). Against black, it has 6.80: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 #D171BC?
- The complementary colour is #71D185 (hue 133). For subtle color combinations, use analogous colours #B671D1 and #D1718C. The triadic palette adds #BCD171 and #71BCD1 for vibrant variety.
- How do I use #D171BC in CSS?
- Use any format: color: #d171bc; or rgb(209, 113, 188); or hsl(313, 51%, 63%). For CSS custom properties: --color-primary: 313 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.