Maroon Colors  ·  Color Library

Palettes / Colors / #D331B2

#D331B2 — Pink

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

#D331B2 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 #31D351; it also sits naturally between #A331D3 and #D33162. In the palettes below you can see it working alongside real color combinations from our collection.

#D331B2 · RGB 211, 49, 178

Download PNG swatch SVG

Color values

HEX#D331B2
RGB211, 49, 178
HSL312°, 65%, 51%
HSV312°, 77%, 83%
CMYK0%, 77%, 16%, 17%
XYZ36.00, 19.26, 43.94
Yxy19.26, 0.3629, 0.1942
CIE-Lab50.99, 73.01, -32.30
Hunter Lab43.89, 73.10, -32.22

RGB & CMYK percentages

Red 83% · Green 19% · Blue 70%

Cyan 0% · Magenta 77% · Yellow 16% · Key 17%

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

Previews

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

CSS code for #D331B2

.text { color: #D331B2; }
.background { background-color: #D331B2; }
.border { border: 3px solid #D331B2; }
.text-rgb { color: rgb(211, 49, 178); }
.text-hsl { color: hsl(312, 65%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D331B2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(211, 49, 178, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D331B2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(211, 49, 178, 0.8); }

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

Shades of #D331B2

#C229A3#B12595#9C2183#871D71#761963#611552#4C1040#370C2E#260820#11040E

Tints of #D331B2

#D846BB#DB57C1#E06CC9#E37DCF#E892D7#EBA2DD#F0B7E5#F3C8EB#F8DDF3#FBEEF9

Tones of #D331B2

#C83CAC#BC49A5#B0549E#A55F97#9A6A90#8D7789

Color harmonies

Complementary — #31D351:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.33:1 AA large only
Against black text4.85:1 AA

Best text color on #D331B2: #000000.

Semi-transparent (opacity) text on #D331B2

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

How #D331B2 looks with color blindness

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

Protanopia · #8D8B93Deuteranopia · #96A28BTritanopia · #CB7A75

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 #D331B2 rather than the exact color:

Hidden Ruby Drift
#4840E1 · #B460E5 · #D432B1 · #B22743
Dreamy Ruby Horizon
#8BAE1F · #208FB3 · #DB32B2 · #EFF3D5
Amber Horizon
#E557C3 · #DB39B3 · #B61B90 · #631250
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747
Gentle Mosaic
#D32ABE · #CD2659 · #D66F49 · #86751A
Tranquil Petal
#CF2BA5 · #DA606F · #8D5822 · #BED32C

Similar colors

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

#D432B1#DB32B2#DB39B3#D133A5#D32ABE#CF2BA5#D83EB8#C829B9#DD33A6#D03FAB#C835BE#D740AB

Browse neighbouring colors

← #D331B1  ·  #D331B3 →

Frequently asked questions

What color is #D331B2?

#D331B2 is Pink, a pink color (RGB 211, 49, 178). Its closest standard named color is MediumVioletRed.

What is the RGB and HSL of #D331B2?

#D331B2 is RGB 211, 49, 178 — HSL 312°, 65%, 51% — CMYK 0%, 77%, 16%, 17%.

What colors go with #D331B2?

Its complement is #31D351; analogous partners are #A331D3 and #D33162. It also appears in 6+ palettes in our collection.

Can I use #D331B2 for text?

Black text on #D331B2 has a contrast ratio of 4.85:1 (passes WCAG AA); white text gives 4.33:1.