Color #D31270 Color / Colour Code #D31270

    This page shows the hex color code for color #d31270 (#D31270). The colour is a pink tone with 84% saturation and 45% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #D31270

    Color Conversions

    HEX
    #D31270
    RGB
    rgb(211, 18, 112)
    HSL
    hsl(331, 84%, 45%)
    HSV
    hsv(331, 91%, 83%)
    CMYK
    cmyk(0%, 91%, 47%, 17%)

    Accessibility Contrast

    WCAG contrast ratios for #D31270 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.13:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.09:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.43:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 301, 331, and 1 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 331, 91, and 211 degrees.

    Color Palettes Using #D31270

    Monochromatic Scale

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

    #460625 #8D0C4A #EB147C #F372B0 #F9B9D8
    Warm Harmony

    Adjacent hues from 331 to 16 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.

    #E83089 #E8305B #E83430 #E86130
    Cool Contrast

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

    #D9267D #26D982 #26D6D9 #267DD9
    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.

    #E0B8CB #E0CDB8 #CBE0B8 #B8E0CD #B8CBE0

    Shades & Tints of #D31270

    Lightness variations at hue 331 and 84% saturation.

    CSS Gradients with #D31270

    Pink to Cyan
    linear-gradient(135deg, #d31270, #12d376)
    Analogous Fade
    linear-gradient(90deg, #d31270, #d31612)
    Deep to Light
    linear-gradient(180deg, #54072d, #f8abd0)
    Tricolor Sweep
    linear-gradient(135deg, #d31270, #70d312, #1270d3)

    Design Use Cases for #D31270

    Vibrant Brand Color

    #D31270 has a strong 84% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Primary Interface Color

    At 45% lightness, #D31270 is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Playfulness & Compassion

    #D31270 is in the pink range (hue 331). 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 #D31270 (hue 331) to its complement at hue 151. For a subtler effect, try pairing with an analogous color at hue 1. Use CSS: background: linear-gradient(135deg, #d31270, #12d376);

    CSS Code for #D31270

    /* Background */
    background-color: #d31270;
    background-color: rgb(211, 18, 112);
    background-color: hsl(331, 84%, 45%);
    /* Text */
    color: #d31270;
    /* Border */
    border: 2px solid #d31270;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(211, 18, 112, 0.3);
    /* CSS Variable */
    --color-primary: 331 84% 45%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #D31270 across image editing and color design tools.

    About Color #D31270 (#D31270)

    #D31270 is a pink color (colour) with RGB channel values of 211 red, 18 green, and 112 blue. The red channel is dominant by a ratio of 11.7:1 over the weakest channel. In HSL terms, the hue sits at 331 degrees with 84% saturation and 45% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #D31270 is 86/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 0% cyan, 91% magenta, 47% yellow, and 17% key (black).

    The WCAG contrast ratio of #D31270 against white is 5.13:1 and against black is 4.09:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 31% lightness.

    The complementary colour #12D376 creates maximum visual tension when paired with #D31270. For more harmonious color combinations, use the analogous colours #D312D0 and #D31612, 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 #D31270

    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 #D31270?
    #D31270 is Color #D31270, a pink color (colour) with RGB(211, 18, 112), HSL(331, 84%, 45%), and CMYK(0%, 91%, 47%, 17%). Its perceived brightness is 86/255.
    Is #D31270 accessible for text?
    Against white, #D31270 has a contrast ratio of 5.13:1 (passes AA for normal text). Against black, it has 4.09:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #D31270?
    The complementary colour is #12D376 (hue 151). For subtle color combinations, use analogous colours #D312D0 and #D31612. The triadic palette adds #70D312 and #1270D3 for vibrant variety.
    How do I use #D31270 in CSS?
    Use any format: color: #d31270; or rgb(211, 18, 112); or hsl(331, 84%, 45%). For CSS custom properties: --color-primary: 331 84% 45%; 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.