Maroon Colors  ·  Color Library

Palettes / Colors / #D331B3

#D331B3 — Pink

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

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

#D331B3 · RGB 211, 49, 179

Download PNG swatch SVG

Color values

HEX#D331B3
RGB211, 49, 179
HSL312°, 65%, 51%
HSV312°, 77%, 83%
CMYK0%, 77%, 15%, 17%
XYZ36.10, 19.30, 44.47
Yxy19.30, 0.3615, 0.1933
CIE-Lab51.04, 73.14, -32.81
Hunter Lab43.93, 73.29, -32.87

RGB & CMYK percentages

Red 83% · Green 19% · Blue 70%

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

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

Previews

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

CSS code for #D331B3

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

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

Shades of #D331B3

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

Tints of #D331B3

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

Tones of #D331B3

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

Color harmonies

Complementary — #31D351:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.32:1 AA large only
Against black text4.86:1 AA

Best text color on #D331B3: #000000.

Semi-transparent (opacity) text on #D331B3

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

How #D331B3 looks with color blindness

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

Protanopia · #8D8B94Deuteranopia · #96A28CTritanopia · #CB7B75

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 #D331B3 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
Gentle Mosaic
#D32ABE · #CD2659 · #D66F49 · #86751A
Radiant Dusk
#E28DCA · #D133A5 · #8D1B6D · #591747
Royal Terrace
#1A5386 · #2E26CB · #9B43CF · #D83EB8

Similar colors

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

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

Browse neighbouring colors

← #D331B2  ·  #D331B4 →

Frequently asked questions

What color is #D331B3?

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

What is the RGB and HSL of #D331B3?

#D331B3 is RGB 211, 49, 179 — HSL 312°, 65%, 51% — CMYK 0%, 77%, 15%, 17%.

What colors go with #D331B3?

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

Can I use #D331B3 for text?

Black text on #D331B3 has a contrast ratio of 4.86:1 (passes WCAG AA); white text gives 4.32:1.