Maroon Colors  ·  Color Library

Palettes / Colors / #D02FA3

#D02FA3 — Pink

#D02FA3 is a pink color we call Pink, closest to the named color MediumVioletRed (#C71585). It belongs to the pink family.

Color name

Closest CSS keyword: mediumvioletred (#C71585) — not an exact match. CSS mediumvioletred gives you #C71585, a different color; use #D02FA3 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#D02FA3 is a warm-leaning pink color associated with playfulness, romance and softness. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #2FD05D; it also sits naturally between #AD2FD0 and #D02F52. In the palettes below you can see it working alongside real color combinations from our collection.

#D02FA3 · RGB 208, 47, 163

Download PNG swatch SVG

Color values

HEX#D02FA3
RGB208, 47, 163
HSL317°, 63%, 50%
HSV317°, 77%, 82%
CMYK0%, 77%, 22%, 18%
XYZ33.64, 18.09, 36.37
Yxy18.09, 0.3819, 0.2053
CIE-Lab49.60, 70.91, -25.66
Hunter Lab42.53, 70.13, -24.14

RGB & CMYK percentages

Red 82% · Green 18% · Blue 64%

Cyan 0% · Magenta 77% · Yellow 22% · Key 18%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #D02FA3 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #D02FA3 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #D02FA3

.text { color: #D02FA3; }
.background { background-color: #D02FA3; }
.border { border: 3px solid #D02FA3; }
.text-rgb { color: rgb(208, 47, 163); }
.text-hsl { color: hsl(317, 63%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D02FA3; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(208, 47, 163, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D02FA3; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(208, 47, 163, 0.8); }

HTML: <p style="color:#D02FA3">Text here</p> · <div style="background-color:#D02FA3">Div content here</div>

Shades of #D02FA3

#BB2A92#AA2785#962275#851E68#701958#5B1547#4B113A#360C2A#25081D#11040D

Tints of #D02FA3

#D544AC#D855B3#DD69BC#E17AC4#E68FCD#EAA4D6#EEB4DE#F3C9E7#F7DAEE#FBEEF8

Tones of #D02FA3

#C43B9D#B94698#AD5293#A25D8E#966989#8B7484

Color harmonies

Complementary — #2FD05D:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.55:1 AA
Against black text4.62:1 AA

Best text color on #D02FA3: #000000.

Semi-transparent (opacity) text on #D02FA3

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #D02FA3: ·

How #D02FA3 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #8A8987Deuteranopia · #94A080Tritanopia · #C8716C

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind pink 500 · #EC4899Tailwind pink 600 · #DB2777Tailwind fuchsia 600 · #C026D3

Palettes with a similar color

These palettes use a close neighbour of #D02FA3 rather than the exact color:

Electric Ruby Meadow
#A025AA · #CF2D9F · #DD658D · #EDB1AE
Tranquil Petal
#CF2BA5 · #DA606F · #8D5822 · #BED32C
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747
Electric Breeze
#73128D · #D127A3 · #7C132E · #DA4318
Crystal Ruby Terrace
#1A833B · #7CE589 · #D0299B · #EBB6E2
Amber Breeze
#86B224 · #50B0DB · #CD2A9A · #E5ECC4

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#CF2D9F#CF2BA5#D133A5#D127A3#D0299B#CD2A9A#C532A3#D424A7#CD3B9F#D63297#DD33A6#C5339B

Browse neighbouring colors

← #D02FA2  ·  #D02FA4 →

Frequently asked questions

What color is #D02FA3?

#D02FA3 is Pink, a pink color (RGB 208, 47, 163). Its closest standard named color is MediumVioletRed.

What is the RGB and HSL of #D02FA3?

#D02FA3 is RGB 208, 47, 163 — HSL 317°, 63%, 50% — CMYK 0%, 77%, 22%, 18%.

What colors go with #D02FA3?

Its complement is #2FD05D; analogous partners are #AD2FD0 and #D02F52. It also appears in 6+ palettes in our collection.

Can I use #D02FA3 for text?

Black text on #D02FA3 has a contrast ratio of 4.62:1 (passes WCAG AA); white text gives 4.55:1.