Color #D166BD Color / Colour Code #D166BD

    This page shows the hex color code for color #d166bd (#D166BD). The colour is a purple tone with 54% saturation and 61% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #D166BD

    Color Conversions

    HEX
    #D166BD
    RGB
    rgb(209, 102, 189)
    HSL
    hsl(311, 54%, 61%)
    HSV
    hsv(311, 51%, 82%)
    CMYK
    cmyk(0%, 51%, 10%, 18%)

    Accessibility Contrast

    WCAG contrast ratios for #D166BD against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.31:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    6.35:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    2.85:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #D166BD paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 281, 311, and 341 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 311, 71, and 191 degrees.

    Color Palettes Using #D166BD

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 311 and saturation at 54%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #3B1233 #762367 #C43BAB #DC89CD #EDC4E6
    Warm Harmony

    Adjacent hues from 311 to 356 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.

    #CA4EB3 #CA4E95 #CA4E76 #CA4E57
    Cool Contrast

    Combines the base color at hue 311 with its complement at 131 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #C43BAB #3BC454 #3BC499 #3BABC4
    Pastel Variation

    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.

    #E0B8D9 #E0BFB8 #D9E0B8 #B8E0BF #B8D9E0

    Shades & Tints of #D166BD

    Lightness variations at hue 311 and 54% saturation.

    CSS Gradients with #D166BD

    Purple to Green
    linear-gradient(135deg, #d166bd, #66d17a)
    Analogous Fade
    linear-gradient(90deg, #d166bd, #d16688)
    Deep to Light
    linear-gradient(180deg, #47153e, #eab8e1)
    Tricolor Sweep
    linear-gradient(135deg, #d166be, #bed166, #66bed1)

    Design Use Cases for #D166BD

    Balanced UI Color

    At 54% saturation, #D166BD 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 61% lightness, #D166BD 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

    #D166BD falls in the purple spectrum (hue 311). 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 #D166BD (hue 311) to its complement at hue 131. For a subtler effect, try pairing with an analogous color at hue 341. Use CSS: background: linear-gradient(135deg, #d166bd, #66d17a);

    CSS Code for #D166BD

    /* Background */
    background-color: #d166bd;
    background-color: rgb(209, 102, 189);
    background-color: hsl(311, 54%, 61%);
    /* Text */
    color: #d166bd;
    /* Border */
    border: 2px solid #d166bd;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(209, 102, 189, 0.3);
    /* CSS Variable */
    --color-primary: 311 54% 61%;

    Similar Colors

    Colors visually similar to #D166BD based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #D166BD across image editing and color design tools.

    About Color #D166BD (#D166BD)

    #D166BD is a purple color (colour) with RGB channel values of 209 red, 102 green, and 189 blue. The red channel is dominant by a ratio of 2.0:1 over the weakest channel. In HSL terms, the hue sits at 311 degrees with 54% saturation and 61% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #D166BD is 144/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, 51% magenta, 10% yellow, and 18% key (black).

    The WCAG contrast ratio of #D166BD against white is 3.31:1 and against black is 6.35: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.35:1.

    The complementary colour #66D17A creates maximum visual tension when paired with #D166BD. For more harmonious color combinations, use the analogous colours #AF66D1 and #D16688, 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 #D166BD

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    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 #D166BD?
    #D166BD is Color #D166BD, a purple color (colour) with RGB(209, 102, 189), HSL(311, 54%, 61%), and CMYK(0%, 51%, 10%, 18%). Its perceived brightness is 144/255.
    Is #D166BD accessible for text?
    Against white, #D166BD has a contrast ratio of 3.31:1 (fails AA for normal text). Against black, it has 6.35: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 #D166BD?
    The complementary colour is #66D17A (hue 131). For subtle color combinations, use analogous colours #AF66D1 and #D16688. The triadic palette adds #BED166 and #66BED1 for vibrant variety.
    How do I use #D166BD in CSS?
    Use any format: color: #d166bd; or rgb(209, 102, 189); or hsl(311, 54%, 61%). For CSS custom properties: --color-primary: 311 54% 61%; 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.