Color #D30342 Color / Colour Code #D30342

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

    #D30342

    Color Conversions

    HEX
    #D30342
    RGB
    rgb(211, 3, 66)
    HSL
    hsl(342, 97%, 42%)
    HSV
    hsv(342, 99%, 83%)
    CMYK
    cmyk(0%, 99%, 69%, 17%)

    Accessibility Contrast

    WCAG contrast ratios for #D30342 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.44:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    3.86:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.69:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 312, 342, and 12 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 342, 102, and 222 degrees.

    Color Palettes Using #D30342

    Monochromatic Scale

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

    #4B0117 #97022F #FB044E #FD6895 #FEB4CA
    Warm Harmony

    Adjacent hues from 342 to 27 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.

    #E83068 #E8303A #E85530 #E88330
    Cool Contrast

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

    #D9265C #26D9A3 #26B5D9 #265CD9
    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.

    #E0B8C4 #E0D4B8 #C4E0B8 #B8E0D4 #B8C4E0

    Shades & Tints of #D30342

    Lightness variations at hue 342 and 97% saturation.

    CSS Gradients with #D30342

    Pink to Cyan
    linear-gradient(135deg, #d30342, #03d395)
    Analogous Fade
    linear-gradient(90deg, #d30342, #d32d03)
    Deep to Light
    linear-gradient(180deg, #5a011c, #fea5bf)
    Tricolor Sweep
    linear-gradient(135deg, #d30342, #42d303, #0342d3)

    Design Use Cases for #D30342

    High-Impact Accent

    With 97% saturation, #D30342 is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Primary Interface Color

    At 42% lightness, #D30342 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

    #D30342 is in the pink range (hue 342). 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 #D30342 (hue 342) to its complement at hue 162. For a subtler effect, try pairing with an analogous color at hue 12. Use CSS: background: linear-gradient(135deg, #d30342, #03d395);

    CSS Code for #D30342

    /* Background */
    background-color: #d30342;
    background-color: rgb(211, 3, 66);
    background-color: hsl(342, 97%, 42%);
    /* Text */
    color: #d30342;
    /* Border */
    border: 2px solid #d30342;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(211, 3, 66, 0.3);
    /* CSS Variable */
    --color-primary: 342 97% 42%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #D30342 across image editing and color design tools.

    About Color #D30342 (#D30342)

    #D30342 is a pink color (colour) with RGB channel values of 211 red, 3 green, and 66 blue. The red channel is dominant by a ratio of 70.3:1 over the weakest channel. In HSL terms, the hue sits at 342 degrees with 97% saturation and 42% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #D30342 is 72/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, 99% magenta, 69% yellow, and 17% key (black).

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

    The complementary colour #03D395 creates maximum visual tension when paired with #D30342. For more harmonious color combinations, use the analogous colours #D303A9 and #D32D03, 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 #D30342

    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 #D30342?
    #D30342 is Color #D30342, a pink color (colour) with RGB(211, 3, 66), HSL(342, 97%, 42%), and CMYK(0%, 99%, 69%, 17%). Its perceived brightness is 72/255.
    Is #D30342 accessible for text?
    Against white, #D30342 has a contrast ratio of 5.44:1 (passes AA for normal text). Against black, it has 3.86:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #D30342?
    The complementary colour is #03D395 (hue 162). For subtle color combinations, use analogous colours #D303A9 and #D32D03. The triadic palette adds #42D303 and #0342D3 for vibrant variety.
    How do I use #D30342 in CSS?
    Use any format: color: #d30342; or rgb(211, 3, 66); or hsl(342, 97%, 42%). For CSS custom properties: --color-primary: 342 97% 42%; 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.