Maroon Colors  ·  Color Library

Palettes / Colors / #D02FB2

#D02FB2 — Pink

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

#D02FB2 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 #2FD04D; it also sits naturally between #9D2FD0 and #D02F62. In the palettes below you can see it working alongside real color combinations from our collection.

#D02FB2 · RGB 208, 47, 178

Download PNG swatch SVG

Color values

HEX#D02FB2
RGB208, 47, 178
HSL311°, 63%, 50%
HSV311°, 77%, 82%
CMYK0%, 77%, 14%, 18%
XYZ35.06, 18.66, 43.87
Yxy18.66, 0.3593, 0.1912
CIE-Lab50.28, 72.90, -33.44
Hunter Lab43.19, 72.76, -33.58

RGB & CMYK percentages

Red 82% · Green 18% · Blue 70%

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

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

Previews

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

CSS code for #D02FB2

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

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

Shades of #D02FB2

#BB2AA1#AA2792#962280#851E72#701960#5B154E#4B1140#360C2E#250820#11040E

Tints of #D02FB2

#D544BA#D855C0#DD69C8#E17ACE#E68FD6#EAA4DD#EEB4E3#F3C9EB#F7DAF1#FBEEF9

Tones of #D02FB2

#C43BAB#B946A4#AD529D#A25D95#96698E#8B7487

Color harmonies

Complementary — #2FD04D:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.44:1 AA large only
Against black text4.73:1 AA

Best text color on #D02FB2: #000000.

Semi-transparent (opacity) text on #D02FB2

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

How #D02FB2 looks with color blindness

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

Protanopia · #8A8992Deuteranopia · #94A08BTritanopia · #C87974

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 fuchsia 600 · #C026D3Tailwind pink 500 · #EC4899Material Purple 500 · #9C27B0

Palettes with a similar color

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

Hidden Ruby Drift
#4840E1 · #B460E5 · #D432B1 · #B22743
Dreamy Ruby Horizon
#8BAE1F · #208FB3 · #DB32B2 · #EFF3D5
Rustic Cascade
#939F21 · #2ABDCC · #C829B9 · #E3E6B3
Gentle Mosaic
#D32ABE · #CD2659 · #D66F49 · #86751A
Tranquil Petal
#CF2BA5 · #DA606F · #8D5822 · #BED32C
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747

Similar colors

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

#D432B1#DB32B2#C829B9#D32ABE#CF2BA5#D133A5#DB39B3#D020B4#C835BE#D424A7#C327AB#C738BD

Browse neighbouring colors

← #D02FB1  ·  #D02FB3 →

Frequently asked questions

What color is #D02FB2?

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

What is the RGB and HSL of #D02FB2?

#D02FB2 is RGB 208, 47, 178 — HSL 311°, 63%, 50% — CMYK 0%, 77%, 14%, 18%.

What colors go with #D02FB2?

Its complement is #2FD04D; analogous partners are #9D2FD0 and #D02F62. It also appears in 6+ palettes in our collection.

Can I use #D02FB2 for text?

Black text on #D02FB2 has a contrast ratio of 4.73:1 (passes WCAG AA); white text gives 4.44:1.