Maroon Colors  ·  Color Library

Palettes / Colors / #D02FA4

#D02FA4 — Pink

#D02FA4 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 #D02FA4 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.

#D02FA4 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 #2FD05A; it also sits naturally between #AA2FD0 and #D02F55. In the palettes below you can see it working alongside real color combinations from our collection.

#D02FA4 · RGB 208, 47, 164

Download PNG swatch SVG

Color values

HEX#D02FA4
RGB208, 47, 164
HSL316°, 63%, 50%
HSV316°, 77%, 82%
CMYK0%, 77%, 21%, 18%
XYZ33.73, 18.12, 36.84
Yxy18.12, 0.3803, 0.2043
CIE-Lab49.65, 71.04, -26.19
Hunter Lab42.57, 70.30, -24.74

RGB & CMYK percentages

Red 82% · Green 18% · Blue 64%

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

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

Previews

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

CSS code for #D02FA4

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

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

Shades of #D02FA4

#BB2A94#AA2787#962277#851E6A#701959#5B1549#4B113B#360C2B#25081E#11040D

Tints of #D02FA4

#D544AE#D855B5#DD69BE#E17AC5#E68FCE#EAA4D7#EEB4DF#F3C9E8#F7DAEF#FBEEF8

Tones of #D02FA4

#C43BA0#B9469A#AD5295#A25D90#96698A#8B7485

Color harmonies

Complementary — #2FD05A:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #D02FA4: #000000.

Semi-transparent (opacity) text on #D02FA4

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 #D02FA4: ·

How #D02FA4 looks with color blindness

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

Protanopia · #8A8988Deuteranopia · #94A081Tritanopia · #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 #D02FA4 rather than the exact color:

Tranquil Petal
#CF2BA5 · #DA606F · #8D5822 · #BED32C
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747
Electric Ruby Meadow
#A025AA · #CF2D9F · #DD658D · #EDB1AE
Electric Breeze
#73128D · #D127A3 · #7C132E · #DA4318
Crystal Ruby Terrace
#1A833B · #7CE589 · #D0299B · #EBB6E2
Electric Twilight
#4D23DE · #420F55 · #C532A3 · #B12248

Similar colors

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

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

Browse neighbouring colors

← #D02FA3  ·  #D02FA5 →

Frequently asked questions

What color is #D02FA4?

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

What is the RGB and HSL of #D02FA4?

#D02FA4 is RGB 208, 47, 164 — HSL 316°, 63%, 50% — CMYK 0%, 77%, 21%, 18%.

What colors go with #D02FA4?

Its complement is #2FD05A; analogous partners are #AA2FD0 and #D02F55. It also appears in 6+ palettes in our collection.

Can I use #D02FA4 for text?

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